- Subject: [slang-users] is_defined
- From: Morten Bo Johansen <mbj@xxxxxxxxxxx>
- Date: Sat, 28 Nov 2020 21:27:54 +0100
Hi
If I do
if (is_defined ("foo"))
foo ();
and "foo" is not defined, then this notwithstanding, an error
is thrown: "foo is undefined".
This shouldn't happen, IMO, since the condition was not met,
and then the statement should be silently ignored and no error
thrown.
But maybe there is a reason for this?
Thanks,
Morten
_______________________________________________
For list information, visit <http://jedsoft.org/slang/mailinglists.html>.
[2020 date index]
[2020 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]