Defining Global Functions in Lisp 定义全局函数
Global External Functions 全局外部函数
Global Variables Functions 全局变量函数
Global Corporate Functions 协调各部门间信息交换的
Global Job Functions 工作职责
Use of global functions should be minimized.
尽量不使用全局函数。
The first line tells Psyco to do its magic on all global functions.
第一行告诉 Psyco 对所有全局函数“发挥其魔力”。
Class Designer does not support global functions and variables.
类设计器不支持全局函数和变量。
So, conceptually if you've ever wondered why you get access in all of your functions to global variables that's because they're not down here, they're at the very top of RAM and any function can access that RAM way up there, but for now the interesting player in the story is this thing called the heap.
所以,如果你想知道为什么全局变量能在,所有的函数中使用,那是因为它们不在这下面,而是在内存的顶端,那样任意函数都可以在内存中使用它们,现在,这里面一个有用的角色是,叫做堆的东西。
So I start this program by declaring as I did before a global variable X. It is global simply because it is not inside any of my functions.
在程序的开始,我声明,一个全局变量X,它是一个全局的,因为它不在任何一个函数里面。
应用推荐