NAMEP

Synopsis
NAMEP name
NAME? name
Description

Outputs TRUE if the input is the name of a variable. Outputs FALSE, otherwise.

name must be a word.

Example
DEFINE "abc [[a b] [print :a] [print :b]]
MAKE "xyz 1
SHOW NAMEP "abc
false

SHOW NAMEP "xyz
true

SourceForge.net Logo