BOOLTRUE keyword

Applies To

Check box components and grid-column components with the check box style.

edt_ variable value.

Component property: Data type.

Description

Specifies a string that represents True in Boolean evaluations of the component, overriding the default True value of 1.

Syntax

BOOLTRUE( TrueValue )

Part Description
TrueValue Expression that evaluates to a string, which represents True in Boolean evaluations of the component.

Remarks

By default WinStudio assigns 1 to a selected check box and 0 to an unselected check box. The BOOLTRUE keyword allows you to override these defaults with values you specify. See BOOLFALSE.

Example

This example is a data-type specification for a combo box where Y represents True.

DATATYPE(CHAR) LENGTH(1) BOOLTRUE(Y) BOOLFALSE(N)