Hi,
I've been trying to compile a small package which will show me the available heap when launched. I used the following code:
func()
begin
local heapReport;
GC();
heapReport := Stats() && " bytes";
return heapReport;
SetValue(wHeapShow, 'text, heapReport);
end
According to some info on the Web, this should work. But when I run it, It gives me the error -48807 (undefined variable). What should I do?
M. Horvat
PS: Hopefully when I get my "Programming for the Newton using Windows" book, you won't have to answer stupid questions like this.
====================================================================
The NewtonTalk Mailing List - http://www.newtontalk.net/
The Official Newton FAQ - http://www.splorp.com/newton/faq/
The Newton Glossary - http://www.splorp.com/newton/glossary/
WikiWikiNewt - http://tools.unna.org/wikiwikinewt/
====================================================================
Received on Wed Aug 27 07:18:11 2008
This archive was generated by hypermail 2.1.8 : Wed Aug 27 2008 - 09:30:00 EDT