2.5.7.1 vBoolean

The vBoolean custom input type specifies a PtgBool that is derived from a source token that MUST be a vNumAny, PtgStr1, PtgCy, or PtgMissArg. It contains the following computed properties.

Value

This property specifies a Boolean derived from the source token as follows.

If the source token is a PtgBool or PtgStr1 with a value of TRUE (case insensitive), Value is equal to TRUE. If the source token is a PtgBool or PtgStr1 with a value of FALSE (case insensitive), Value is equal to FALSE.

If the source token is a vNum, PtgUnsWord or PtgCy with a value of zero, Value is equal to FALSE. If the source token is a vNum, PtgUnsWord or PtgCy with a value not equal to zero, Value is equal to TRUE.

If the source token is a PtgMissArg, Value is equal to FALSE.

In all other cases, the input argument is not valid.

Type

This property specifies a token type of PtgBool.