Progress
Results User’s Guide
for UNIX


Logical Display Formats

Logical fields or variables can contain a true or false value. You can define any strings to represent them. Logical fields default to a yes/no format. You can change this default to any string value, such as red/black, customer/prospect, or commercial/private. For example, you might define a logical variable with an on/off format. In this example, on represents the true value and off represents the false value.

If input is coming from a file, and you have defined a format for a logical field or variable that is something other than true/false or yes/no, you can still use true/false or yes/no as input to that logical field or variable.

Table C–6 contains some examples of how Results displays a logical value with different formats.

Table C–6: Logical Display Formats 
FORMAT
TRUE
FALSE
yes/no
yes
no
Yes/no
Yes
no
true/false
true
false
shipped/waiting
shipped
waiting

NOTE: If you define your own logical values, a false value cannot begin with “y” or “t,” and a true value cannot begin with “n” or “f.”


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095