-
Notifications
You must be signed in to change notification settings - Fork 0
/
menu.pas
executable file
·33 lines (32 loc) · 1.06 KB
/
menu.pas
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
PROGRAM Menu;
USES Crt;
VAR
choice : Char;
num_choice : Integer;
Begin
Writeln;
Writeln;
Writeln;
Writeln(' Computer Assisted Scholarly Editing');
Writeln(' Version 2.1');
Writeln;
Writeln(' 1) Collate two files.');
Writeln(' 2) Print output of collation.');
Writeln(' 3) Conflate multiple collation outputs.');
Writeln(' 4) Print output of conflation.');
Writeln(' 5) Sort a variable file.');
Writeln(' 6) Strip a variable file.');
Writeln(' 7) Produce fair copy from a diplomatic transcription.');
Writeln(' 8) Produce list of MS alterations.');
Writeln(' 9) Print list of MS alterations.');
Writeln(' 0) Exit from CASE.');
Writeln;
Writeln;
Writeln(' Press key and wait for questions.');
Repeat
choice := ReadKey()
Until choice in ['0'..'9'];
num_choice := ord(choice) - 48;
Halt(num_choice)
End.