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