wiki:Documentation/ARexxAPI/WRITEFROM

Version 5 (modified by damato, 6 months ago) (diff)

--

Languages:

WRITEFROM

NAME
WriteFrom -- Enter a name, address or alias into the "From" field of the Write window. (V2.0)
TEMPLATE
ADDRESS/A
FUNCTION
Enters a name, address or alias into the "From" field of the Write window, replacing its old contents, if any. YAM will resolve the name or alias looking in the address book.
INPUTS
ADDRESS/A - name, address or alias
RETURNS
RC is set to 10 if no Write window was previously specified as "active" with MAILWRITE or if an attempt is made to enter more than one sender.
NOTES
EXAMPLE
/* Set the active Write window */
MAILWRITE WINDOW 0

/* Set the sender of a letter */
WRITEFROM 'jdoe'
BUGS
SEE ALSO
MAILWRITE