[thelist] Redirection
David Bindel
dbindel at austin.rr.com
Fri Jul 26 19:13:02 CDT 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> I haven't used any programming languages before where you could
> write
> if ($x == 'this' || 'that')
> and have it interpreted as
> if ($x == 'this' || $x == 'that')
> but I would be very interested someone else has.
I think it would seem logical to write
if ($x == ('this' || 'that')
but unfortunately, C-based languages don't agree :-(
David Bindel
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
iQA/AwUBPUHlfbwc2umqeOxSEQILpQCguq2MHBOFrWPqvgh2pZpYIscQiAUAn2XB
hUpVBmszBjLLyq06s5/JeScf
=wiD7
-----END PGP SIGNATURE-----
More information about the thelist
mailing list