MACROP

Synopsis
MACROP name
MACRO? name
Description

Outputs TRUE if the input is the name of a user-defined macro or a library macro. Outputs FALSE, otherwise.

name must be a word.

Example
SHOW MACROP "ABC
false

.DEFMACRO "ABC [[a b] [PRINT :a] [PRINT :b]]
SHOW MACROP "ABC
true

SourceForge.net Logo