home *** CD-ROM | disk | FTP | other *** search
- /*
- Listing 23.3 Mem_chk()
- Author: Joe Booth
- Excerpted from "Clipper 5: A Developer's Guide"
- Copyright (c) 1991 M&T Books
- 501 Galveston Drive
- Redwood City, CA 94063-4728
- (415) 366-3600
- */
-
- //───── NOTE: must compile with the /N option!
-
- function mem_chk(param)
- param := if(valtype(param)="C",len(param),param)
- // Check largest contigous block of storage //
- return ( param * 3 < memory(1)*1024 )
-
- // end of file CHP2303.PRG
-