Guardian Programmer's Guide

Table Of Contents
Writing a Command-Interpreter Monitor ($CMON)
Guardian Programmer’s Guide 421922-014
23 - 46
Sample $CMON Program
! Otherwise accept the logon request and reply with the
! logon text:
BEGIN
LOGON^REPLY.REPLYCODE := 0;
LOGON^REPLY.REPLYTEXT ':=' LOGON^TEXT FOR 64;
END;
! Sends the reply message to the TACL process:
CALL REPLYX(LOGON^REPLY,$LEN(LOGON^REPLY));
END;