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