Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!att!linac!midway!msuinfo!convex.cl.msu.edu!jap From: jap@convex.cl.msu.edu (Joe Porkka) Newsgroups: comp.sys.amiga.programmer Subject: Re: COMMAND TO FIND OUT FREE MEMORY AVAILABLE ON SAS C???? Message-ID: <1991Jan26.051115.12062@msuinfo.cl.msu.edu> Date: 26 Jan 91 05:11:15 GMT References: <1991Jan25.161423.26901@rodan.acs.syr.edu> Sender: news@msuinfo.cl.msu.edu Distribution: usa Organization: Michigan State University Lines: 12 goldberg@rodan.acs.syr.edu (Ross Goldberg) writes: >Is there a relatively simple procedure or command to return in bytes I dunno if there is a specifiy SAS way to do it, but... RTFM AvailMem( memory type) is a handy Exec.library function. 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