It calculates the memory gap between common heap and the SuperBasic
area. Of course this is not necessarily the largest free block of
memory, but it's unfortunately a widely used formula, IIRC even QDOS
itself used it. Only recent SMSQ/E versions do this better.
Total memory is as said sys_ramt. Or in SuperBasic
print peek_l(163872)/1024-128
That is interesting to see even QDOS uses that formula...
The winner of this quiz has to be [EMAIL PROTECTED]
If he wants to contact me privately, I will arrange to sort him out with a beta version of QWord to try...
--
Rich Mellor
RWAP Software
35 Chantry Croft, Kinsley, Pontefract, West Yorkshire, WF9 5JH
TEL: 01977 610509
http://hometown.aol.co.uk/rwapsoftware
