Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!decwrl!mcnc!wolves!deepthot!Jay From: Jay@deepthot.UUCP (Jay Denebeim) Newsgroups: comp.sys.amiga.programmer Subject: Re: COMMAND TO FIND OUT FREE MEMORY AVAILABLE ON SAS C???? Message-ID: Date: 30 Jan 91 15:25:17 GMT References: <1991Jan25.161423.26901@rodan.acs.syr.edu> <1991Jan26.051115.12062@msuinfo.cl.msu.edu> Organization: The Software Distillery Lines: 24 In article <1991Jan26.051115.12062@msuinfo.cl.msu.edu> jap@convex.cl.msu.edu (Joe Porkka) writes: >goldberg@rodan.acs.syr.edu (Ross Goldberg) writes: > >>Is there a relatively simple procedure or command to return in bytes > >bytes = AvailMem(MEMF_CHIP) Number of FAST mem bytes free >bytes = AvailMem(MEMF_FAST) Number of FAST mem bytes free >bytes = AvailMem(MEMF_CLEAR) Number of zero bytes free >bytes = AvailMem(0) Total Number of bytes free Missed one: bytes = AvailMem(MEMF_LARGEST) Largest free block. (this is the largest segment you can actually allocate) -- |_o_o|\\ |. o.| || The Jay Denebeim | . | || Software | o | || Distillery | |// Address: mcnc!wolves!deepthot ====== BBS:(919)-460-7430 VOICE:(919)-460-6934