The command 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.


Go back to index of Yodl.

Please send Yodl questions and comments to yodl@icce.rug.nl.

Please send comments on these web pages to (address unknown)

Copyright (c) 1997, 1998, 1999 Karel Kubat and Jan Nieuwenhuizen.

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.


This page was built from Yodl-1.31.18 by

<(address unknown)>, Wed Jan 4 10:55:39 2006 EST.