Link to home
Start Free TrialLog in
Avatar of weinrj
weinrj

asked on

Memory Checker (Megs)

I would like to create a function that will display
how much megs you have left.  
example of usage in function called megsLeft
writeln('You have ',megsLeft,'left.');
This variable is declared as real (#.##), and the variable
stays in the memory throughout the program for tests, such
as if megsLeftVar < 80 then Halt;
   else installProg;

I can make the checkings myself, but i need the info obtained from the function to stay in the computers memory.

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of mes
mes

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of omsec
omsec

if you wanna get the free space of a drive is mes's answer correct ! You also can get some other memory areas like
conventional memory, xms, or ems. get the OMSEC - unit from my
homepage at www.geocities.com/SiliconValley/Peaks/1620 

signed, Omsec
Avatar of weinrj

ASKER

Adjusted points to 50