Guardian Programmer's Guide

Table Of Contents
Writing a Command-Interpreter Monitor ($CMON)
Guardian Programmer’s Guide 421922-014
23 - 50
Sample $CMON Program
! Otherwise accept the request and reply with display text:
BEGIN
PASSWORD^REPLY.REPLYCODE := 0;
PASSWORD^REPLY.REPLYTEXT ':='
"Password change approved";
END;
! Send reply to the TACL process:
CALL REPLYX(PASSWORD^REPLY,$LEN(PASSWORD^REPLY));
END;