Other Programming Considerations
This section describes other programming considerations. These consist of:
- Boolean true and false variables
- Format commands
- Regular expression patterns
- Wildcard search characters
- Special characters
Many program statements rely upon conditional tests to determine the next program statement to execute. The if program statement is an example.
Conditional tests generally evaluate to either a true or false value. Although any positive, non-zero integer can represent a true value, the integer 1 is normally used. The integer 0 represents a false value.
The following are some Boolean true and false variable examples:
LoopControl = false; #sets LoopControl to 0
LoopControl = true; #sets LoopControl to 1