On an ordinary QL I can type

f%=-32768/1

and find that f% now contains -32768.

Try this on the current versions of SMSQE (on Q60 or QPC2) and you  
get the overflow message.

However,

f%=0-32768/1, and

print -32768/1

both work.

I don't normally want these answers, but a colleague of mine  
apparently does and he alerted me to this problem. What other  
arithmetical mistakes are lurking?

George


_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to