|
of_setsyntax
|
|
Full name
|
pfc_u_tabpg_dwproperty_srvsyntax.of_setsyntax
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_setsyntax(string)
|
public function integer of_setsyntax (string as_syntax);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_SetSyntax
//
// Access: Public
//
// Arguments:
// as_syntax The syntax to be put on the mle.
//
// Returns: Integer
// 1 success
// -1 error
//
// Description:
// Sets the Syntax on the mle.
//
// Note:
// The is_endtext instance variable is used
// to append to the text. If nothing is desired
// just blank out the variable on the constructor event.
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 6.0 Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright © 1996-1997 Sybase, Inc. and its subsidiaries. All rights reserved.
// Any distribution of the PowerBuilder Foundation Classes (PFC)
// source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//
//////////////////////////////////////////////////////////////////////////////
mle_syntax.Text = as_syntax + is_endtext
Return 1
end function