MSI Factory 2.3

System.GetMemoryInfo

System.GetMemoryInfo

This is the first topic This is the last topic  

System.GetMemoryInfo

This is the first topic This is the last topic  

OverviewExamples

table System.GetMemoryInfo (

)

Example 1

-- Get the memory information from the user's system.

tbMemory = System.GetMemoryInfo();

 

-- Display an error message if their RAM is less than 500 MB.

if (tbMemory.TotalRAM < 500) then

   Dialog.Message("Warning", "This application requires at least 512 MB of RAM.\r\nYou currently only have "..tbMemory.TotalRAM.." MB RAM.");

end

Gets the amount of RAM on the user's system and warns them if their RAM is less than 500 MB.

See also: Related Actions


Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us