chkmem.pas
来自「汇编源代码大全」· PAS 代码 · 共 12 行
PAS
12 行
PROGRAM chkmem;
{ Michael A. Covington, 1991 }
{ Reports amount of memory free. }
USES
WinTypes, WinProcs;
VAR
s: String;
BEGIN
Str(GetFreeSpace(0),s);
s := s + ' bytes free'#0;
MessageBox(GetActiveWindow,addr(s[1]),'Memory Check',0)
END.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?