Args
ARG(2) is a C string of the new text.
Return
An empty string to prevent the titlebar from being changed, or nothing to allow the change.
Notes
To examine the text, you must use CONVERTDATA to convert it to a REXX string:
/* Convert C string to REXX variable named MyString. */ CONVERTDATA(ARG(2), "MyString", "str") /* Display it. */ SAY MyStringSee also GETTEXT.