PreviousNextIndex

LOGICAL function

Converts any data type into the LOGICAL data type.

Syntax

LOGICAL ( expression [ , char-expression-format ] ) 

expression
char-expression-format
Example

The following code fragment illustrates the Logical function:

DEFINE VARIABLE mychar AS CHARACTER NO-UNDO. 
DEFINE VARIABLE v-log  AS LOGICAL   NO-UNDO. 
	mychar = "si". 
v-log = LOGICAL(mychar, "si/no") 
/* v-log is TRUE */ 

Notes
See also

STRING function, INTEGER function, DATE function


OpenEdge Release 10.2B
Copyright © 2009 Progress Software Corporation
PreviousNextIndex