is there a way for subroutine to determine if a variable has been defined in the calling program?
so you don't get the run time error if you were to just do IF VAR="" THEN ....
CALL SOMESUB(VAR1, VAR2)
SUBROUTINE SOMESUB(VAR1, VAR2)
IF VAR1="" THEN RETURN
But if in the calling program, there was no VAR1="..." , the subroutine will throw a run time error that "" was used.
is there a way like the php isset() function to test if a variable has been defined?