Contents | Prev | Next | Index
The purpose of an assignment is to replace the current value of a variable with a new value specified by an expression. The expression must be assignment compatible with the variable. The assignment operator is written as ":=" and stands for becomes.
assignment ::= left_designator := expr
left_designator ::= expr_designator
::= @ expr_designator
::= sub_expr selector_list
expr_designator ::= designator
::= func_var_ref
func_var_ref ::= func_result selector_list
func_result ::= proc_designator actual_parameters
sub_expr ::= ( expr )
|
Contents | Prev | Next | Index
Canterbury Pascal for JVM (Last documentation update
Jun 9, 2000)
Copyright © 1998 Mill Hill & Canterbury
Corporation, Ltd. All rights reserved
Please send any comments or corrections to
mhc@webcom.com