FRE


Returns the amount of free memory available

Syntax:
declare function Fre ( byval value as long = 0 ) as 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.

Examples:
Dim mem As Integer = Fre

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


Differences from QB:
See also:
Back to Operating System Functions
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode