Guardian Programmer's Guide

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