Menu

keywords-statement

Will Pittenger

Use to declare a complex statement such as a custom FOR loop. ASIL's own for and while/repeat are actually built as complex statements in ASIL rather than being keywords. Each complex statement must use the instructions keyword. If the special label onbreak is missing, the keyword break is invalid in that statement. If the special label onnext is missing, the keyword next is invalid in that statement. For more on complex statements, see the section [Complex statements].

\statement\ identifier [OptionalDeclarationSequence]
  ' Code
  \instructions\ ' required use of the instructions keyword
  ' More code

For more on declaration sequences, see Declaration sequence.


Related

Wiki: Appendices-Terms-Declaration sequence
Wiki: Complex Statements
Wiki: Keywords
Wiki: When is it a procedure, command, function, property, property accessor, method, complex statement, or type cast?
Wiki: keywords-final
Wiki: keywords-instructions