/* check if a compound variable is defined */ /* note: the variable "varPart" contains the name of the tail */ if symbol( "thisStem" || VALUE( varPart ) ) <> "VAR" then say "The Variable thisStem." || varPart || " is not defined"