home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 April: Mac OS SDK / Dev.CD Apr 00 SDK1.toast / Development Kits / Mac OS / Apple Guide / Engineering / Context Check Modules / MemFree CC / Release Notes < prev   
Encoding:
Text File  |  1994-08-19  |  830 b   |  11 lines  |  [TEXT/MSWD]

  1. MemFree 1.0d1 Release Note:
  2.  
  3. 5/4/93 Josh Jacobs
  4. ©1993 Apple Computer, Inc.
  5.  
  6. MemFree is an external module / context check for Apple Guide. The context check returns whether memory is  available. The check only takes a single parameter (type long) which specifies the amount, in kbytes, of memory you want. It returns true or false. (example if you want to know if 4 MegabBytes are available you would pass 4096 to the context check.)
  7.  
  8. The companion database has three panels. It uses memFree to determine whether or not 4 MB of RAM is available. This demonstrates how Apple Guide dynamically determines which panels to show based on context check results.
  9.  
  10. The source code to the module and the test database are included. Notice the correlation between the struct we pick up in the module and the <DCC> command in the database. 
  11.