Contents | Prev | Next | Index
Statements cause program execution. They often appear in a statement sequence, where they are executed in sequential order. There are two kinds of statements:
Elementary statements are not composed of any parts that are themselves statements. Structured statements, however, are composed of parts that are themselves statements. They are used to express sequencing and conditional, selective and repetitive execution. A statement may also be empty, in which case it does nothing. The empty statement is only included in order to relax punctuation rules in statement sequences.
stmt_seq ::= stmt_seq ; stmt ::= stmt stmt ::= assignment ::= procedure_call ::= if_stmt ::= case_stmt ::= while_stmt ::= repeat_stmt ::= for_stmt ::= with_stmt ::= raise_stmt ::= try_except_stmt ::= try_finally_stmt ::= compound_stmt ::= goto_stmt ::= label_stmt ::= <empty> |
Contents | Prev | Next | Index
Canterbury Pascal for JVM (Last documentation update
Sep 02, 2004)
Copyright © 1999-2004 J.Neuhoff - mhccorp.com
. All rights reserved.
Please send any comments or corrections to
neuhoff@mhccorp.com