The reason is that, as mentioned earlier, Scheme will rename pi and e so they don't conflict with other names in enclosing or nested scopes.
原因在于Scheme会对pi和e 进行重命名,使它们不会与包含或嵌入宏的范围中的其他名称冲突。
An identifier may be defined once in a scope, but can be redefined in nested scopes. The following example will explain some of these points.
一个标识可以在一个作用域中定义一次,但可以在嵌套作用域中重新定义。
A local variable is one that is only available for use (that is, you can assign to it, or fetch its value) within the scope in which it is declared, and within nested scopes as well.
本地变量是仅可以在声明它的范围中和嵌套范围中使用的变量(也就是说,您可以向其赋值,也可以从中取值)。
The variable VEH that is defined implicitly in the event handler is seen by all activities inside the event handler and scopes nested inside the event handler.
在事件程序中隐式定义的变量VEH 对事件处理程序和事件处理程序内嵌套的范围内的所有活动可见。
The variable VM defined in MainScope is seen by all activities within MainScope and by all activities inside the event handler associated with MainScope and scopes nested inside the event handler
在MainScope内定义的变量VM 对 MainScope 内的所有活动和与 MainScope关联的事件处理程序及事件处理程序内的嵌套范围内的所有活动可见
Term used to describe function scope and the scopes nested inside a function.
用于描述函数作用域和函数内嵌套的作用域的术语。
Editing scopes can be nested, but must be committed in order.
编辑范围可以嵌套,但是必须按顺序提交。
Editing scopes can be nested, but must be committed in order.
编辑范围可以嵌套,但是必须按顺序提交。
应用推荐