Laurence W Reeves writes: <> > "n=-32768/1:n2=n*n":PRINT n2"? I'd hazard a guess that one might get > something like "$0821 2000 0000".
Actually $081F 4000 0000 > To a degree, calculations on the stack /may/ normalise values, but > there's no guarantee. Also, it will be no surprise that one of > "m=32768:n=-m/1:PRINT m=n" or "m=-32768:n=m/1:PRINT m=n" is going to > print zero. I rather suspect it will be the latter, as a result of bad > tokenisation of the "-32768". Correct! m=-32768:n=m/1:PRINT m=n gives 0. (But m=32768:n=m/1:PRINT m=n gives 1.) In fact even -32768 / 4 <> -8192! Ooooops! This does need fixing. Per _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm