769
备注:
|
← 于2008-02-23 15:35:48修订的的版本3 ⇥
769
converted to 1.6 markup
|
删除的内容标记成这样。 | 加入的内容标记成这样。 |
行号 8: | 行号 8: |
[[Include(^TCPL/A\.11\.[0-9] .*,,titlesonly)]] | <<Include(^TCPL/A\.11\.[0-9] .*,,titlesonly)>> |
A.11 Scope and Linkage
A program need not all be compiled at one time: the source text may be kept in several files containing translation units, and precompiled routines may be loaded from libraries. Communication among the functions of a program may be carried out both through calls and through manipulation of external data.
Therefore, there are two kinds of scope to consider: first, the lexical scope of an identifier which is the region of the program text within which the identifier's characteristics are understood; and second, the scope associated with objects and functions with external linkage, which determines the connections between identifiers in separately compiled translation units.