wiki:Documentation/ARexxAPI/WRITESUBJECT

Version 4 (modified by damato, 7 months ago) (diff)

--

Languages:

WRITESUBJECT

NAME
WriteSubject -- Enter a subject into a new message.
TEMPLATE
SUBJECT/A
FUNCTION
Enters a subject into a new message.
INPUTS
SUBJECT/A - subject of the message (upto 199 characters)
RETURNS
RC is set to 10 if no Write window was previously specified as "active" with MAILWRITE.
NOTES
If the subject is longer than 199 characters, it will be truncated.
EXAMPLE
/* Set the active Write window */
MAILWRITE WINDOW 0

/* Set subject */
'WRITESUBJECT "This is the subject"'
BUGS
SEE ALSO
MAILWRITE