System.TotalMemory (property)

Syntax System.TotalMemory
Description Returns a Long representing the number of bytes of available free memory in Windows.
Example This example displays the total system memory.
Sub Main()
  TotMem& = System.TotalMemory
  TotKBytes$ = Format(TotMem& / 1000,"##,###")
  MsgBox TotKbytes$ & " Kbytes of total system memory exist" 
End Sub
See Also System.FreeMemory (property); System.FreeResources (property); Basic.FreeMemory (property).