| simple variable | Index Level | string expressions |
| Syntax |
[ am | ; ] statement {[ am | ;] statement...} end
-or- statement {; statement ...} |
| Category | BASIC |
| Type | Definition |
| Description |
one or more statements that follow a FlashBASIC decision-path related token such as, but not limited to, "then", "else", "locked" and "onerr".
"am" is used in the syntax to represent an attribute mark. It is interchangeable with the ";" (semi-colon). |
| Options | |
| See Also | IF THEN | ELSE statement.block ELSE LOCK LOCKED MATREAD ONERR OPEN PROCREAD READ READT READTL READTX READV REWIND ROOT SEND WEOF WRITET READNEXT GET LOCATE IN INPUT IFR |
| Example |
readt tape.rec then
crt "grabbed record" . . end Which is the same as: readt tape.rec then ; crt "grabbed record' ; . ; . In the single-line form, "end" is not allowed. readt tape.rec onerr crt "error code: " : system(0) ; stop |
| Warnings | |
| Compatibility | D3 7.0 AP R83 |
| simple variable | Index Level | string expressions |