The rational way to handle boolean is to store the value in a single byte
that is zero or one and use the boolean to string and string to boolean
conversion functions to translate zero or one to false and true,
respectively.
On Monday, November 17, 2014, Simonov Denis wrote:
> Why is half the Bo
On 11/17/14 15:16, Simonov Denis wrote:
> Why is half the Boolean parameter is specified as 0 or 1 and a half as
> true or false?
You can also use yes or no.
> Can we bring them to the same species?
In examples - definitely yes, when modifying .conf file one can use any
style he wishes or mix t
Why is half the Boolean parameter is specified as 0 or 1 and a half as
true or false? Can we bring them to the same species?
examples:
# Type: boolean
#SharedCache = True
# Type: boolean
#SharedDatabase = False
# Type: boolean
#
#RemoteAccess = True
# Type: boolean
#
# IPv6V6Only =