Changes between Version 7 and Version 8 of FAQ/ARexx Scripting
- Timestamp:
- Apr 5, 2014, 9:52:09 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FAQ/ARexx Scripting
v7 v8 8 8 If you are having trouble getting the WRITEEDITOR TEXT arexx command to work as expected and your script always returns an error similar to that one: 9 9 10 {{{ 10 {{{#!arexx 11 11 1 *-* WRITEDITOR TEXT Hello World; 12 12 +++ Command returned 10 … … 17 17 For example, if you want to put the text "Hello World!" into an already opened write window in YAM you are ought to have you arexx script designed like: 18 18 19 {{{ 19 {{{#!arexx 20 20 /* My script */ 21 21 ADDRESS YAM; … … 39 39 You can. But you have to escape such special characters like a newline or an escape (0x1b) character with some special char sequences like: 40 40 41 {{{ 41 {{{#!arexx 42 42 *N subsitutes to a newline (0x0a) 43 43 *E subsitutes to a esc char (0x1b) … … 48 48 For example the following command would write a string to a texteditor containing a newline: 49 49 50 {{{ 50 {{{#!arexx 51 51 'WRITEEDITOR "TEXT Hello Joe,*N I would like to meet you."' 52 52 }}}