PDA

View Full Version : Some (possibly my) bugs.


tzurs
October 13th, 2002, 03:55 PM
Hi Ron,

I'm not sure if thats a feature however:

1. Reset variables does not clear them.

2. Load Reg with XML file:
<?xml version="1.0" encoding="UTF-8"?>
<Registers><IntegerRegisters><Register Name="WeatherTempF">75</Register><Register Name="WeatherTempC">24</Register><Register Name="WeatherWindSpeed">2</Register><Register Name="WeatherHumidity">73</Register><Register Name="WeatherRealTemp">77</Register><Register Name="WeatherUVIndex">0</Register></IntegerRegisters>
</Registers>

does not load those as integers but as doubles.
Hope I'm correct and not bothering for nothing..

-tzurs.

Ron
October 13th, 2002, 03:55 PM
Thats correct, Lua only uses Doubles, so Integers get converted. Is this a problem ?

tzurs
October 13th, 2002, 03:55 PM
That's fine, It's just that there is no way of loading Integers now?

Also what about my first question? (reset variables)?
Regards,
-tzurs.

Ron
October 13th, 2002, 03:55 PM
There are no integers in Lua, so no need to load them.

Yes there was a problem with the reset variables. Is fixed in next release.