|Version 3 (modified by AmigaPhil, 6 months ago) (diff)|
WriteLetter -- Load a file into the internal text editor.
Loads a file into the internal text editor, completely replacing its current contents, if any.
FILE/A - file to load; only a text file will be accepted
NOSIG/S - prevent the addition of any signature (V2.0)
RC is set to 10 if the specified file could not be opened or if no Write window was previously specified as "active" with MAILWRITE ?.
/* Load a file into the editor */
MAILWRITE WINDOW 0 /* Set the active Write window */
WRITELETTER 'mail:templates/t2' NOSIG