I have a subroutine that needs a variable that may not be defined. Right now it has code:
if DebugMode=='N' then ......
The problem is if DebugMode is not defined, I want it to default to N
IF IsDefined(myVar) THEN Message("The variable","is defined...")