Thanks, the culprit is the 'Z' picture.
Yes, you're right, I mixed them.
Rather 'E'. Picture '@E 99.99' is enough to replicate the problem.
Please also note that during typing comma ',' is replaced by dot '.'
and there is also problem with returned value. If you type only
'1' and ENTER then the return value is 1 instead of 1.00 so the
number is not formatted to the picture. Probably resolving the
problem with ',' replaced by '.' will also resolve other side effects.
Okay. I don't want to touch this code at this point,
as I feel to make more harm than good. If anyone wants
to jump on these, it's alright though. The only thing I'd
suggest is to add test cases to rto_get.prg for all the
cases covered.
[ I'll add some ASAP. ]
Brgds,
Viktor
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour