Posted by Puzzled on 01/06/08 19:38
On Sun, 06 Jan 2008 19:53:43 +0100,
Michael Fesser <netizen@gmx.de> wrote:
>Second: If you print out a boolean, its value is automatically converted
>to a string. How and why this is done is described in the manual:
>
>| A boolean TRUE value is converted to the string "1", the FALSE value
>| is represented as "" (empty string). This way you can convert back and
>| forth between boolean and string values.
You don't find that a daft convention? It implies that true has
an integer value that can undergo autoconversion in a string
context but false has no value and cannot. I can't find any
sense in that at all.
[Back to original message]
|