variable existence checking

Thorsten Haude yoo at vranx.de
Tue May 29 21:49:37 CEST 2007


Hi,

* Tony Balinski wrote (2007-05-29 15:02):
>Another route would be to allow undefined as a pseudo-value in variables (an
>actual value in simple variables, possibly just a sign of a missing index in
>arrays) that you could pass to functions etc, test against and assign using.
>This would move things a little closer to Perl, say, where undefined values do
>more than cause failure.

We had a lengthy discussion about this attached to one of TK's patches
for exactly this. I don't mind much either way if we introduce a -w
parameter along with it, that's what I always use in Perl.


Thorsten
-- 
Everyone has the right to freedom of expression. This right shall include
freedom to hold opinions and to receive and impart information and ideas
without interference by public authority and regardless of frontiers.
    - Charter of Fundamental Rights of the European Union, Article 11
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.nedit.org/pipermail/discuss/attachments/20070529/e128d5ea/attachment.bin


More information about the Discuss mailing list