Sorry if this is in the wrong forum, but I couldn't figure out where exactly this should go.
I'm looking at another person's code, and in several places they appear to be confirming the existence of a variable using expressions like the following (within a macro):
%If &var eq %then ...
-OR-
%If &var ne %then ...
What's throwing me off is the interpretation of how the expression is evaluated.
My assumption was that in the first expression, if the variable is not missing then the expression is true and the "then" will execute. In the second example, if the variable is missing, then the expression is true and the "then" will also execute.
Is this correct, or is this backwards?
Thanks!
... View more