[ Home ] [ Features ] [ Products ] [ FAQ's ] [ Screens ] [ Support ] [ Downloads ] [ About ] [ Discussion ]


the software that grows with you

 

V32Memory()

Calculates the different aspects of memory available to the systems.

Syntax

V32Memory()

Arguments

None

Returns

Single dimentional array of memory information.

Description

V32Memory() is an extended function which calculates the different aspects of Win32 memory. It returns a single dimension array of memory information in units of kilobytes.

Usage

local mem_:={}, m_:={}

m_:= V32Memory()

aadd( mem_, "MEM_CHAR    " + str( m_[ 1 ] ) + ' KB' )
aadd( mem_, "MEM_BLOCK " + str( m_[ 2 ] ) + ' KB' )
aadd( mem_, "MEM_RUN " + str( m_[ 3 ] ) + ' KB' )
aadd( mem_, "MEM_VM " + str( m_[ 4 ] ) + ' KB' )
aadd( mem_, "MEM_EMS " + str( m_[ 5 ] ) + ' KB' )
aadd( mem_, "MEM_FM " + str( m_[ 6 ] ) + ' KB' )
aadd( mem_, "MEM_FMSEGS " + str( m_[ 7 ] ) + ' KB' )
aadd( mem_, "MEM_SWAP " + str( m_[ 8 ] ) + ' KB' )
aadd( mem_, "MEM_CONV " + str( m_[ 9 ] ) + ' KB' )
aadd( mem_, "MEM_EMSUSED " + str( m_[ 10] ) + ' KB' )
aadd( mem_, "MEM_USED " + str( m_[ 11] ) + ' KB' )
aadd( mem_, "MEM_USEDMAX " + str( m_[ 12] ) + ' KB' )
aadd( mem_, "MEM_STACKITEMS" + str( m_[ 13] ) + ' KB' )
aadd( mem_, "MEM_STACK " + str( m_[ 14] ) + ' KB' )

return  mem_

Tips

 
 

[ Home ][ Features ] [ Products ][ About Us ][ FAQ's ][ Screen Shots ][ Downloads ][ Support ][ Discussion ]
.

Vouch is a Trademark of Pritpal Bedi
All other Trade Marks are the property of their respective owners.
Copyright 1993-2011 Pritpal Bedi. All rights reserved.
Hit Counter  
You are Visitor # since 14 May 2002