[Next] [Previous] [Up] [Top] [Contents] [Index]

2.5 Statements and Expressions

2.5.3 Variable References

A variable or named object is referenced simply by naming the variable or object:

ref_expr	::=	name

The names of objects and variables are in the same name space. Lexical scoping is used to locate the closest lexically-enclosing variable or object binding for the name.