PDA

View Full Version : Little inprecision



Petr Schreiber
27-01-2006, 20:04
Hello,

in the What's new section there is written in new features for 1.0.8.2:


FUNCTION returning parameter is now optional. If omitted a LONG value will be assumed.


But if you try this demo, you can see it's able to return even floating numbers, not just LONG integers:


MSGBOX 0, TestMe

FUNCTION TestMe()
FUNCTION = 123.123456789012
END FUNCTION


It's nice feature anyway.


Thanks,
Psch

ErosOlmi
29-01-2006, 14:27
Thank you Petr.
Problem solved: type casting at function exit was not working fine.
Fix will be present in next release.

Eros