ARexx

ID #1016

Why can't I send newline characters (0x0a) via the WRITEEDITOR Arexx command to YAM?

You can. But you have to escape such special characters like a newline or an escape (0x1b) character with some special char sequences like:

  • *N subsitutes to a newline (0x0a)
  • *E subsitutes to a esc char (0x1b)
  • ** subsitutes to a *
  • *" subsitutes to a "

For example the following command would write a string to a texteditor containing a newline:

'WRITEEDITOR "TEXT Hello Joe,*N I would like to meet you."'

Please note that this applies to all Arexx command arguments and that you have to use proper escape sequences like explained above.

Tags: -

Related entries:

Last update: 2007-02-21 12:08
Author: Jens Langner
Revision: 1.0

Digg it! Share on Facebook Print this record Send FAQ to a friend Show this as PDF file
Propose a translation for Propose a translation for
Please rate this FAQ:

Average rating: 0 (0 Votes)

completely useless 1 2 3 4 5 most valuable

You can comment this FAQ