Changes between Initial Version and Version 1 of Documentation/ARexxAPI/ADDREDIT


Ignore:
Timestamp:
Sep 22, 2013 9:03:31 PM (11 months ago)
Author:
AmigaPhil
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/ARexxAPI/ADDREDIT

    v1 v1  
     1== ADDREDIT 
     2 
     3'''NAME''' 
     4     AddrEdit -- Fill in the fields of the current address book entry. 
     5                 (V2.0) 
     6 
     7'''TEMPLATE''' 
     8     ALIAS,NAME,EMAIL,PGP,HOMEPAGE,STREET,CITY,COUNTRY,PHONE,COMMENT, 
     9     BIRTHDATE/N,IMAGE,MEMBER/M,ADD/S 
     10 
     11'''FUNCTION''' 
     12     Edits the fields of the current address book entry. 
     13 
     14'''INPUTS''' 
     15     ALIAS         - alias for the entry (upto 29 chars)\\ 
     16     NAME          - real name for the entry (upto 39 chars)\\ 
     17     EMAIL         - email address for the entry\\ 
     18     PGP           - PGP ID for the entry (person only)\\ 
     19     HOMEPAGE      - homepage for the entry (person only) (upto 231 chars)\\ 
     20     STREET        - snail mail address of the entry (person only) (upto 79 chars)\\ 
     21     CITY          - city for the entry (person only) (upto 79 chars)\\ 
     22     COUNTRY       - country for the entry (person only) (upto 79 chars)\\ 
     23     PHONE         - phone # for the entry (person only) (upto 79 chars)\\ 
     24     COMMENT       - comment for the entry (up to 79 chars)\\ 
     25     BIRTHDATE/N   - birthdate for a person in DDMMYYYY format, e.g. 13091969\\ 
     26     IMAGE         - image filename for the entry (person only)\\ 
     27     MEMBER/M      - use the argument(s) to edit a member list\\ 
     28     ADD/S         - combined with 'member', adds new members to a distribution list, instead of replacing the old member info\\ 
     29 
     30'''RETURNS''' 
     31     RC is set 10 if no entry is currently selected in the address book. 
     32 
     33'''NOTES''' 
     34     Arguments longer than the available space are simply truncated. 
     35 
     36'''EXAMPLE''' 
     37         /* Enable result codes */ 
     38 
     39         OPTIONS RESULTS 
     40 
     41         /* Select an entry */ 
     42 
     43         ADDRGOTO YAM_ml 
     44 
     45         /* Edit this entry */ 
     46 
     47         'ADDREDIT EMAIL "yam@freelists.org" COMMENT "The place to be"' 
     48 
     49         /* Select a distribution list */ 
     50 
     51         ADDRGOTO blacklisted 
     52 
     53         /* Reset the list */ 
     54 
     55         ADDREDIT MEMBER 'bill' 
     56 
     57         /* Add a couple of members */ 
     58 
     59         ADDREDIT MEMBER 'jobs@example.com' MEMBER 'smith@example.net' ADD 
     60 
     61'''BUGS''' 
     62     Even if a group or person is selected, MEMBER [ADD] will return 
     63     success (0). 
     64 
     65     Entering nonsense data as birth date or editing a distribution list 
     66     would throw Enforcer hits; this was fixed in V2.4. 
     67 
     68'''SEE ALSO'''