home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-11 | 516 b | 40 lines | [TEXT/PJMM] |
- program SlotVBLTest;
-
- uses
- {$IFC UNDEFINED THINK_PASCAL}
- Types, QuickDraw,Events,
- {$ENDC}
- MySlotVBL;
-
- var
- g: Longint;
-
- begin
-
- {$IFC UNDEFINED THINK_PASCAL}
- {$ELSEC}
- ShowText;
- {$ENDC}
-
- if noErr <> InstallVBL(GetMainDevice) then
- begin
- WriteLn('InstallVBL failed');
- while not Button do
- ;
- Halt;
- end;
-
- SetVBLValue(0);
- g := 0;
-
- repeat
- while GetVBLValue = g do
- ;
- if g mod 6 = 0 then
- Write(g : 5);
- if g mod 60 = 0 then
- WriteLn;
- g := GetVBLValue;
- until Button;
- RemoveVBL;
- end.