在 Lisp 里面,这些动态作用域的变量被称做是特殊变量(special variables),你可以透过 defvar 特殊形式来定义特殊变量。下面是一些 lexically 跟 dynamically scoped 变量的例子。
基于19个网页-相关网页
We've already touched on one of these special variables, FS.
前面已经接触过特殊变量FS。
Within the body of a class, you can declare special variables called properties.
在类的主体中,可以声明叫做属性的特殊变量。
There are no special variables of the kind that good Perl programmers use regularly.
不存在优秀的Perl程序设计人员常规使用的那类特殊变量。
应用推荐