English
Source / code snippets

Reading disengaged Ram

 
disengaged Ram read.

CompileMarkSeparation
DEF GlobalMemoryStatus(1) !KERNEL32 , GlobalMemoryStatus
DEF MB(1) div(Div(@&(1),1024),1024)
Def GKS(1) !USER32,GetKeyState
declare mem#
Dim Mem#,32

proc getmem//gets free ram

    Long Mem#,0=32
    GlobalMemoryStatus(Mem#)
    return long(Mem#,12)

endproc

print Press Space to exit.

whilenot lt(gks(32),-1)

    sleep 100
    locate 2,1
    print mb(getmem())

wend

dispose mem#
end
 
07/05/04  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.951 Views

Untitledvor 0 min.
Paul Glatz04/08/14
Andre Rohland02/23/12
iF03/10/11
Heiko Dix01/25/11

Themeninformationen

this Topic has 1 subscriber:

unbekannt (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie