wiki:Documentation/ARexxAPI/WRITESUBJECT

Version 1 (modified by AmigaPhil, 11 months ago) (diff)

--

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 subject */

MAILWRITE WINDOW 0 /* Set the active Write window */
'WRITESUBJECT "This is the subject"'

BUGS

SEE ALSO

MAILWRITE ?