Guardian Programmer's Guide

Table Of Contents
Formatting and Manipulating Character Data
Guardian Programmer’s Guide 421922-014
19 - 65
Sample Program
!------------------------------------------------------------
! Main procedure initializes the IN file and then calls the
! command interpreter.
!------------------------------------------------------------
PROC INITIALIZE MAIN;
BEGIN
! Initialize the IN file:
CALL INITIALIZE^TERMINAL;
! Call the command interpreter:
CALL COMMAND^INTERPRETER;
END;