Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
|||
procedure SpinningRod(Memo: TMemo);
|
||||
var I: integer;
|
||||
const CA: array [0..3] of char = ('|','/','-','\');
|
||||
begin
|
||||
LastKey:=#0;
|
||||
for I:=0 to 1000 do
|
||||
begin
|
||||
Memo.SetFocus;
|
||||
Memo.Lines.Clear;
|
||||
Memo.Lines.Add(CA[I mod 4]+' - Press Any Key To Stop');
|
||||
Sleep(250);
|
||||
if (LastKey<>#0) or Application.Terminated then break;
|
||||
Application.ProcessMessages;
|
||||
end;
|
||||
end;
|
||||
Loading…
Add table
Add a link
Reference in a new issue