k, eat this.
this does not report your physical memchip-size but the total memsize in megabytes your comp sees.
calculated and tested.


Function MemSize(optional $machine)
dim $
if vartype($machine) $machine=join(split($machine,"\"),'') $machine="\\"+$machine+"\" endif
$=right(readvalue($machine+"HKEY_LOCAL_MACHINE\HARDWARE\RESOURCEMAP\System Resources\Physical Memory",".Translated"),8)
$=execute($MemSize+"=&"+right($,2)+substr($,5,2)+substr($,3,2)+left($,2)+"/1024.0/1024.0+16")
endfunction
_________________________
!

download KiXnet