RENAMEMACRO
takes two arguments: the name of a built-in macro
(such as INCLUDEFILE
) and its new name.
E.g., after
RENAMEMACRO(INCLUDEFILE)(include)
a file must be included by include(file)
, and no longer using
INCLUDEFILE
.
Note that following the RENAMEMACRO
action, the old name can no longer
be used; it is then an unknown symbol.
If you want to make an alias for a built-in command, do it with
DEFINEMACRO
. E.g., after:
DEFINEMACRO(include)(1)(INCLUDEFILE(ARG1))
both INCLUDEFILE
and include
can be used to read in a file.
Please send Yodl questions and comments to yodl@icce.rug.nl.
Please send comments on these web pages to
(address unknown),
send other FSF & GNU inquiries and questions to
Copyright (c) 1998 Karel Kubat and Jan Nieuwenhuizen
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.