6 Jul
2001
6 Jul
'01
17:21
* Alexandr Malusek
Mads Martin =?iso-8859-1?Q?J=F8rgensen?=
writes: * Landy Roman
[Jul 05. 2001 16:25]: what turns on and off or what is true and false
0 or 1
0 is false and 1 is true.
Or, if you evaluate exit codes, the opposite is true:
$ true; echo $? 0
$ false; echo $? 1
Yes ... I'm to C'ified, and in C 0 is false, everything else is true. And no -- I don't like the new Bool datatype in C99. -- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogic, with just a little bit more effort." -- A. P. J.