'interactive'
Declare to the interpreter that the function can be used
interactively. This special form may be followed by a string with
one or more parts that pass the information to the arguments of the
function, in sequence. These parts may also tell the interpreter
to prompt for information. Parts of the string are separated by
newlines, `/n'.
Common code characters are:
'b'
The name of an existing buffer.
'f'
The name of an existing file.
'p'
The numeric prefix argument. (Note that this 'p' is lower
case.)
'r'
Point and the mark, as two numeric arguments, smallest first.
This is the only code letter that specifies two successive
arguments rather than one.
本文介绍了一种特殊形式的声明方式,使函数能够被解释器识别为可交互使用。通过特定字符串参数来指导如何从用户获取输入及传递给函数。文中详细列举了用于构造交互提示的代码字符及其含义。
10万+

被折叠的 条评论
为什么被折叠?



