Statements
Statements are the executable instructions of a RAD Basic program. This section covers control flow, I/O operations, procedure declarations, and more.
In this section
| Statement | Description |
|---|---|
| Call | Transfers control to a Sub or Function procedure |
| Do...Loop | Repeats a block of statements while or until a condition is true |
| For...Next | Repeats a block of statements a specified number of times |
| If...Then...Else | Conditionally executes a block of statements |
| Line Input | Reads a line from an open file into a variable |
| Open | Opens a file for input, output, or appending |
| Writes output to the screen or to an open file | |
| Select Case | Executes one of several blocks of statements based on a value |
| Sub | Declares a Sub procedure |
| While...Wend | Repeats a block of statements while a condition is true |