PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
![]() | ![]() | ![]() | ![]() | ![]() |
MacroGet() |
This is an inbuilt function function provided by PPWIZARD.
This function takes a single parameter (the name of a macro) and returns its contents.
The macro must already exist (created by #define or #evaluate). You can use Defined() to determine whether or not the macro exists.
The value of the macro is returned. This value is not expanded or modified in any way.
If you need parameter substitution you could create unique strings and use ReplaceString() to perform the "substitution" yourself.
Note that there is also a MacroSet() routine.