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


Ignore:
Timestamp:
Sep 22, 2013, 9:58:14 PM (7 years ago)
Author:
Philippe Duchenne
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/ARexxAPI/GETCONFIGINFO

    v1 v1  
     1== GETCONFIGINFO
     2
     3'''NAME'''
     4     GetConfigInfo -- Return information about the current user.  (V1.3)
     5
     6'''TEMPLATE'''
     7     VAR/K,STEM/K,ITEM/A
     8
     9'''FUNCTION'''
     10     Returns information about the current user.
     11
     12'''INPUTS'''
     13     VAR/K    - alternative variable to put the results into instead of RESULT  (V2.0)\\
     14     STEM/K   - base name used for the stem where the result will be stored  (V2.0)\\
     15     ITEM/A   - item to return information about, may be one of
     16
     17                   EMA(IL)   - e-mail address\\
     18                   NAM(E)    - real name\\
     19
     20'''RETURNS'''
     21     VAR         - info returned by the query\\
     22     <STEM>VALUE - info returned by the query\\
     23
     24'''NOTES'''
     25     Superseded by [[rx_userinfo| USERINFO ]] in V2.0+.  Don't use it in new scripts.
     26
     27'''EXAMPLE'''
     28         /* Enable result codes */
     29
     30         OPTIONS RESULTS
     31
     32         /* Request info */
     33
     34         GETCONFIGINFO NAME VAR name\\
     35         GETCONFIGINFO EMAIL VAR email\\
     36
     37         /* Display results */
     38
     39         SAY 'User name:    'name\\
     40         SAY 'User address: 'email\\
     41
     42'''BUGS'''
     43     The original V1.3 implementation would return junk most of the time;
     44     this was fixed in V1.3.1.
     45
     46'''SEE ALSO'''
     47     [[rx_userinfo| USERINFO ]]