Originale-mail to me for new edition

 

Blocks and scope

 

Declarations and statements are organized into blocks, which define local namespaces (or scopes) for labels and identifiers. Blocks allow a single identifier, such as a variable name, to have different meanings in different parts of a program. Each block is part of the declaration of a program, function, or procedure; each program, function, or procedure declaration has one block.

Blocks

Scope

 

Topic groups

 

 

译文

 

块和作用域

 

块(block)为标号和标识符定义了命名空间(即作用域scope),声明和语句都被组织到块(blocks)中。块允许单独的标识符,例如一个变量名,与程序中其他部分的某个变量同名但具有不同的含义。每个块都是程序、函数、过程等声明的一部分;每个程序、函数、过程等的声明都有一个块。

作用域

 

主题组