Fre

Returns the amount of free memory available

Syntax
	KeyPgDeclareDeclare KeyPgFunctionFunction Fre ( KeyPgByvalByVal value KeyPgAsAs KeyPgLongLong = 0 ) KeyPgAsAs KeyPgUintegerUInteger

Usage
	result = Fre( [ value ] )

Parameters
	value
		Unused dummy parameter kept for backward compatibility; can be 
		ignored.

Return Value
	Returns the amount of free memory, in bytes.

Description
	Returns the free memory (ram) available, in bytes.

Example
	Dim mem As UInteger = Fre

	Print "Free memory:"
	Print
	Print mem; " bytes"
	Print mem  \ 1024; " kilobytes"
	Print mem  \ (1024 * 1024); " megabytes"

Differences from QB
	* The "value" argument is not checked, Fre will always return the free 
	  physical memory available

See also
	* KeyPgDimDim
	* KeyPgRedimReDim
	* KeyPgAllocateAllocate

