ErosOlmi
02-03-2008, 23:08
Next thinBasic preview version will not anymore have MOD operator but just MOD function.
In other terms it will not be possible to do something like:
MyVar = 10 MOD 1.5 '---MOD operator
but it must be substituted by
MyVar = MOD(10, 1.5) '---MOD function
This will avoid a superflous test inside numeric expression parsing.
MOD function is already present in current thinBasic (both stable and preview) so if you have some code using MOD operator, please change it.
Regards
Eros
In other terms it will not be possible to do something like:
MyVar = 10 MOD 1.5 '---MOD operator
but it must be substituted by
MyVar = MOD(10, 1.5) '---MOD function
This will avoid a superflous test inside numeric expression parsing.
MOD function is already present in current thinBasic (both stable and preview) so if you have some code using MOD operator, please change it.
Regards
Eros