Weird problem with integer division, or is it me again?

Anything QL Software or Programming Related.
User avatar
tofro
Font of All Knowledge
Posts: 2685
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: Weird problem with integer division, or is it me again?

Post by tofro »

NormanDunbar wrote: SMSQ also allows them, but my figers are still running in QDOS mode, so never types the % after the loop index name!
Mine do as well, but

IMPLICIT% i, j, k or
DEF_INTEGER i, j, k

usually do the trick. (Obviously doesn't help a lot if you're not compiling your code)


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
Post Reply