Changes between Version 7 and Version 8 of FAQ/ARexx Scripting


Ignore:
Timestamp:
Apr 5, 2014 9:52:09 AM (8 months ago)
Author:
damato
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FAQ/ARexx Scripting

    v7 v8  
    88If 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: 
    99 
    10 {{{ 
     10{{{#!arexx 
    11111 *-* WRITEDITOR TEXT Hello World; 
    1212+++ Command returned 10 
     
    1717For 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: 
    1818 
    19 {{{ 
     19{{{#!arexx 
    2020/* My script */ 
    2121ADDRESS YAM; 
     
    3939You can. But you have to escape such special characters like a newline or an escape (0x1b) character with some special char sequences like: 
    4040 
    41 {{{ 
     41{{{#!arexx 
    4242 *N subsitutes to a newline (0x0a) 
    4343 *E subsitutes to a esc char (0x1b) 
     
    4848For example the following command would write a string to a texteditor containing a newline: 
    4949 
    50 {{{ 
     50{{{#!arexx 
    5151'WRITEEDITOR "TEXT Hello Joe,*N I would like to meet you."' 
    5252}}}