Contents | Prev | Next | Index


Compound Statements

The compound statement specifies that its component statements are to be executed in the same sequence as they are written. The component statement is a statement sequence treated as one statement. This is useful in contexts where the Pascal grammar only allows one statement. BEGIN and END bracket the statements, which are separated by semicolons.

compound_stmt  ::= BEGIN stmt_seq END
stmt_seq ::= stmt_seq ; stmt
::= stmt


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