Hello All,
I have question regarding BOOLEAN variable and read/write from an XML file. I have a xml tag which has an attribute whose value is "1" . At Karel side, I have defined a structure with a boolean variable.
When I read using the XML_SETVAR builtin function in a Karel program into the structure, it is automatically converted to "True". Then after writing this value to another XML file, when i try to read it again, it (meaning "True") is not recognised as a Boolean but as a string.
Does anyone know how to retain the boolean status (either retaining "1" or reading "True" as a Boolean)?
Thanks and Regards
Anand