-
Notifications
You must be signed in to change notification settings - Fork 2
/
MRaptor7.mod
executable file
·34 lines (28 loc) · 1.31 KB
/
MRaptor7.mod
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
MAIN MODULE Raptor7;
{+++++++++++++++++++++++++++++++++++RAPTOR+++++++++++++++++++++++++++++++++++++++++}
{+ +}
{+ Main Module : RaptorX +}
{+ Author : C. Carter +}
{+ Last Modified : June 2004 +}
{+ Description : The only purpose of main is to start the program and then +}
{+ chuck control over to the menubar (or mouseclick) +}
{+ +}
{++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++}
FROM Menu IMPORT MenuItemObj;
FROM Display IMPORT InitDisplay,menubar,CheckTimeBomb,password,compileType,training;
VAR
item : MenuItemObj;
exploded : BOOLEAN;
BEGIN
InitDisplay(exploded);
IF NOT password
IF ((compileType="demo") OR (compileType="student") OR training)
CheckTimeBomb(exploded);
END IF;
END IF;
IF NOT exploded
REPEAT
item := ASK menubar TO AcceptInput();
UNTIL (ASK item ReferenceName = "ExitItem");
END IF;
END MODULE.