home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
ada
/
ada_lrm3.arc
/
LR4SV.SRC
< prev
next >
Wrap
Text File
|
1989-03-28
|
1KB
|
50 lines
-- Ada LRM Reader
with TEXT_IO;
package INTEGER_IO is
new TEXT_IO.INTEGER_IO(INTEGER);
with TEXT_IO, INTEGER_IO; use TEXT_IO, INTEGER_IO;
with LRM_TYPES; use LRM_TYPES;
package LRM_GLOBAL is
CHAP_POINTERS : CHAP_POINTER_LIST(C1 .. C14S7P3);
CHAP_POINTERS_FILE_NAME : STRING(1 .. 35);
CREDITS_FILE_NAME : STRING(1 .. 35);
EXPLANATION_FILE_NAME : STRING(1 .. 35);
FILE_NAMES_DATA_FILE_NAME : STRING(1 .. 9) := "LRMinit ";
LRM_FILE_NAME_PREFIX : STRING(1 .. 35);
LRM_FILE_NAME_PREFIX_LENGTH : INTEGER range 1 .. 35;
LRM_READER_SAVE_FILE_NAME : STRING(1 .. 35);
MENU_MAIN_FILE_NAME : STRING(1 .. 35);
MENU_ANNEX_FILE_NAME : STRING(1 .. 35);
MENU_CHAPTER_FILE_NAME : STRING(1 .. 35);
SAVE_FILE : FILE_TYPE; -- save LRM text into this file
WELCOME_MSG_FILE_NAME : STRING(1 .. 35);
procedure GENERATE_CHAP_POINTERS(CHAP_POINTERS : in out CHAP_POINTER_LIST);
procedure VALIDATE_CITATION(CITATION_REQUESTED : in STRING;
REQUEST_LENGTH : in NATURAL;
CITATION_TO_GET : out LEGAL_CITATIONS);
procedure READ_IN_FILE_NAMES(FILE_NAMES_DATA_FILE_NAME : in STRING);
end LRM_GLOBAL;