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;
I can make the checkings myself, but i need the info obtained from the function to stay in the computers memory.