J
John Dann
This question is just for my education as there are some simple and
obvious workarounds, but...
I have an array of Booleans that I need to export to a text file.
Currently the Boolean values are appearing in the text file as the
text strings True/False, but I need them as the integers 1 and 0 (for
input to another program that only recognises Booleans in integer
form). Have I overlooked a suitable Boolean method (eg if there were a
Boolean.ToInteger) that can do this at one stroke?
Thanks
JGD
obvious workarounds, but...
I have an array of Booleans that I need to export to a text file.
Currently the Boolean values are appearing in the text file as the
text strings True/False, but I need them as the integers 1 and 0 (for
input to another program that only recognises Booleans in integer
form). Have I overlooked a suitable Boolean method (eg if there were a
Boolean.ToInteger) that can do this at one stroke?
Thanks
JGD