[futurebasic] Re: Gestalt Problem

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 1998 : Group Archive : Group : All Groups

From: Pete <furry@...>
Date: Sat, 21 Mar 98 00:23:13 +1100
>Hello to all,
>
>I'm trying to use a gestalt constant to get the amount of free Logical 
>Memory.
>I'm using the code below to get it. But when I run it, I get all the time 0.
>
>_gestaltLogicalRAMSizeConstant = _"lram"
>LogicalRAMSize = FN GESTALT(_gestaltLogicalRAMSizeConstant)
>PRINT "/_gestaltLogicalRAMSizeConstant - " + STR$(LogicalRAMSize) + "/"
>
>Does anybody know what I'm missing?
>
>Thanks in advance for any help.

I can't help much but:
shouldn't LogicalRAMSize really be a long ?   LogicalRAMSize&

Pete...


Voice/Answering Machine: 61 2 48621428
                    Fax: 61 2 48621580
                  
                  email: furry@...
                  
              snailMail: P.O.Box 781
                         Bowral NSW 2576
                         Australia

Check out: http://www.hinet.net.au/~furry

In the words of a 'famous' Vulcan:
     "Long Live And Prosper"