Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>fre() - get amount of free dos memory available</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     fre() - get amount of free DOS memory available
  Usage:    <integer> = fre()
  Params:   none
  Returns:  an integer equal to the amount of DOS memory that is
            available in bytes.

 ---------------------------------- Example ---------------------------------

                 if (fre() < 100000)
                      ? "Not enough memory to run program"
                 else
                      ! totals
                 endif

  Note:     The amount of free memory is the amount of memory
            left over after your Clipper application runs. This
            memory can be adjusted through the SET CLIPPER=Xnnn
            environment variable. Note that after an index if
            SET CLIPPER=Xnnn is not used, available memory
            shrinks to almost nothing because no memory had been
            reserved through the SET CLIPPER=Xnnn environment
            variable.


See Also: expmem() extmem() egamem() dosmem()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson