Previous Topic: SNDCMPMSG Message Function

Next Topic: SNDERRMSG Message Function

Example

In this example, you have a Display File function that calls a separate Print File function to print out some details. You might then send a completion message from the Print File function to indicate that the print is complete. This could be done by modifying the action diagram of the Print File function as follows:

> USER: Process end of report
:—
:Send completion message - 'Print of details complete' <<<
'—

The message then appears automatically on the message subfile of the Display File function.