You mean the amount that is installed? I'd say by reading sys_ramt.
Or the amount of free memory? You need a trap call for that, sms.frtp.
Hmm - there is a way of doing both if I recall correctly... it's been so long - both solutions required (in SuperBASIC of course)
--
Rich Mellor
RWAP Software
35 Chantry Croft, Kinsley, Pontefract, West Yorkshire, WF9 5JH
TEL: 01977 610509
http://hometown.aol.co.uk/rwapsoftware
