Boolean output representation.
Boolean output representation.
От:
Dmitriy Igrishin <dmitigr@gmail.com>
Дата:
Hey all,
As is known, there are many valid literal values for the "true"
and "false" state of boolean data type.
True whether that output of boolean type shows only using
the letters 't' and 'f' or its possible to change the output representation,
e.g., to "true" or "false" ("1", "0")?
Regards,
Dmitriy
Re: Boolean output representation.
От:
Pavel Stehule <pavel.stehule@gmail.com>
Дата:
Hello
2010/8/26 Dmitriy Igrishin :
> Hey all,
>
> As is known, there are many valid literal values for the "true"
> and "false" state of boolean data type.
> True whether that output of boolean type shows only using
> the letters 't' and 'f' or its possible to change the output representation,
> e.g., to "true" or "false" ("1", "0")?
>
no, it isn't possible - you can write a simple formating function or
own custom data type.
Regards
Pavel Stehule
> Regards,
> Dmitriy
>
>
Re: Boolean output representation.
От:
Dmitriy Igrishin <dmitigr@gmail.com>
Дата:
Hey Pavel,
Thanks for you answer !
And many thanks to developers because my task a bit simplified
because of that :)
Regards,
Dmitriy
Thanks for you answer !
And many thanks to developers because my task a bit simplified
because of that :)
Regards,
Dmitriy
2010/8/26 Pavel Stehule <pavel.stehule@gmail.com>
Hello
2010/8/26 Dmitriy Igrishin <dmitigr@gmail.com>:no, it isn't possible - you can write a simple formating function or> Hey all,
>
> As is known, there are many valid literal values for the "true"
> and "false" state of boolean data type.
> True whether that output of boolean type shows only using
> the letters 't' and 'f' or its possible to change the output representation,
> e.g., to "true" or "false" ("1", "0")?
>
own custom data type.
Regards
Pavel Stehule
> Regards,
> Dmitriy
>
>