Thread: Boolean output representation.

Boolean output representation.

From
Dmitriy Igrishin
Date:
Hey all,<br /><br />As is known, there are many valid literal values for the "true"<br />and "false" state of boolean
datatype.<br />True whether that output of boolean type shows only using<br />the letters 't' and 'f' or its possible
tochange the output representation,<br /> e.g., to "true" or "false" ("1", "0")?<br /><br />Regards,<br />Dmitriy<br
/><br/> 

Re: Boolean output representation.

From
Pavel Stehule
Date:
Hello

2010/8/26 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")?
>

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.

From
Dmitriy Igrishin
Date:
Hey Pavel,

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>:
> 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
>
>