Boolean

From Real Software Documentation

Jump to: navigation, search
Data Type


Boolean is an intrinsic data type in Real Studio. A Boolean can only take on the values of True or False. The default value is False.

Boolean values are False by default but can be set to True using REAL Studio's True keyword and back to False using the False keyword. Some of the properties of objects in Real Studio are Boolean values. In the Properties pane, they appear as checkboxes.

The VarType function returns 11 when passed a Boolean variable.

Examples

The following statement disables a TextField, making it non-enterable and non-selectable (i.e., the user can't tab into it).

TextField1.Enabled=False


See Also

False, True, VarType functions; And, Not, Or, Xor operators; Dim, Static, Declare statements; -, +, *, /, <, <=, =, >=, >, <> VarType functions; Boolean, Byte, CFStringRef, Color, CString, Currency, Delegate, Double, Int16, Int32, Int64, Int8, Integer, OSType, PString, Ptr, Short, Single, String, UInt16, UInt32, UInt64,UInt8, UShort, Variant, WindowPtr, WString data types. IsNumeric, Mod, Str, Val, Vartype, functions.

Personal tools