《通链参考手册》


Function LOAD-LOGICAL-PATHNAME-TRANSLATIONS

●语法设定:

load-logical-pathname-translations host => just-loaded

●参数和值:

host---a string.

just-loaded---a generalized boolean.

●详情:

Searches for and loads the definition of a logical host named host, if it is not already defined. The specific nature of the search is implementation-defined.

If the host is already defined, no attempt to find or load a definition is attempted, and false is returned. If the host is not already defined, but a definition is successfully found and loaded, true is returned. Otherwise, an error is signaled.

●例子:

 (translate-logical-pathname "hacks:weather;barometer.lisp.newest")
>>  Error: The logical host HACKS is not defined.
 (load-logical-pathname-translations "HACKS")
>>  ;; Loading SYS:SITE;HACKS.TRANSLATIONS
>>  ;; Loading done.
=>  true
 (translate-logical-pathname "hacks:weather;barometer.lisp.newest")
=>  #P"HELIUM:[SHARED.HACKS.WEATHER]BAROMETER.LSP;0"
 (load-logical-pathname-translations "HACKS")
=>  false

●受制于: 无。

●例外情况:

If no definition is found, an error of type error is signaled.

●更多信息:

logical-pathname

●说明:

Logical pathname definitions will be created not just by implementors but also by programmers. As such, it is important that the search strategy be documented. For example, an implementation might define that the definition of a host is to be found in a file called ``host.translations'' in some specifically named directory.


X3J13设计清单非标准部分,可查下面章节:


◇首页 § ◎章节目录 § □内容索引 § ○符号索引 § △术语表 § ※设计草案