FloatString Question
g3cwi
Posts: 262
I am attempting to use the StringToFloat method of FloatString. FloatString does not appear to need to be started and I have F32 running for other things and I am calling that for the maths in FloatString. It has been started in another object - but not in FloatString.
This very trivial test example fails despite trying various combinations with @.
Ideas?
Regards
Richard
This very trivial test example fails despite trying various combinations with @.
tmp:= string("3.7") debug.str(tmp) 'works fine debug.nl speed_dec := FS.StringToFloat(tmp) 'this line fails with tmp and @tmp debug.str(string(" = ")) 'this never prints suggesting the line above causes a hang debug.dec(speed_dec)
Ideas?
Regards
Richard
Comments
Cheers
Richard
APRS Demo - Archive [Date 2012.04.08 Time 13.14].zip
The test snippet is just before the main loop (line 254).
Regards
Richard
I start F32 on line 142 of the main part of the program but as you say, that's not enough.I also tried an additional F32.Start at the first statement inside FloatString StringToFloat but it still failed.
Regards
Richard
Regards
Richard
More beer needed.
Regards
Richard