Changes between Version 24 and Version 25 of Documentation/ARexxAPI


Ignore:
Timestamp:
Apr 5, 2014 9:26:20 AM (6 months ago)
Author:
damato
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/ARexxAPI

    v24 v25  
    2626   Be careful when passing arguments containing spaces; for instance, 
    2727 
    28    {{{#!urbiscript 
     28   {{{#!arexx 
    2929   sub = 'Hello World' 
    3030   'WRITESUBJECT' sub 
     
    3333   won't work. It must be written as 
    3434 
    35    {{{#!urbiscript 
     35   {{{#!arexx 
    3636   'WRITESUBJECT "'sub'"' 
    3737   }}} 
     
    3939   or 
    4040 
    41    {{{#!urbiscript 
     41   {{{#!arexx 
    4242   'WRITESUBJECT "Hello World"' 
    4343   }}} 
     
    5454   For example the following command would write a string to a texteditor containing a newline: 
    5555 
    56    {{{#!urbiscript 
     56   {{{#!arexx 
    5757    'WRITEEDITOR "TEXT Hello Joe,*N I would like to meet you."' 
    5858   }}} 
     
    6363   Returned info to be expected from the command.  Commands may return results in three different kinds; let's look at these examples which use the FOLDERINFO command: 
    6464 
    65    {{{#!urbiscript 
     65   {{{#!arexx 
    6666   FOLDERINFO 
    6767   -> RESULT = "0 Incoming incoming 10 2 4 23030 1" 
    6868   }}} 
    6969 
    70    {{{#!urbiscript 
     70   {{{#!arexx 
    7171   FOLDERINFO VAR fi 
    7272   -> fi = "0 Incoming incoming 10 2 4 23030 1" 
    7373   }}} 
    7474 
    75    {{{#!urbiscript 
     75   {{{#!arexx 
    7676   FOLDERINFO STEM fi. 
    7777   -> fi.number = 0 
     
    8787   Another example which returns a result of type `/M`: 
    8888 
    89    {{{#!urbiscript 
     89   {{{#!arexx 
    9090   ADDRFIND STEM found. "Marcel Beck" NAMEONLY 
    9191   -> found.alias.count = 2