You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would also like to suggest to have the template
ADDRINFO VAR/K,STEM/K,[ALIAS]
since we have the command ADDRGOTO to change the current entry
/* _AddrInfo.yam Test of
ADDRINFO VAR/K,STEM/K,ALIAS/A
OPTIONS RESULTS
ADDRESS YAM
ADDRLOAD 'YAM:.addressbook' OPEN
ADDRINFO 'Agnes' STEM st.
/* Only continue if RC == 0 */
SAY 'RC is' RC
IF RC ~= 0 THEN EXIT
/* List results /
SAY 'Type of entry: 'st.type / ST.TYPE */
SAY 'Real name: 'st.name
SAY 'Email address: 'st.email
SAY 'PGP key ID: 'st.pgp
SAY 'Homepage: 'st.homepage
SAY 'Street: 'st.street
SAY 'City: 'st.city
SAY 'Country: 'st.country
SAY 'Phone #: 'st.phone
SAY 'Description: 'st.comment
SAY 'Date of birth: 'st.birthdate
SAY 'Portrait: 'st.image
The text was updated successfully, but these errors were encountered:
I think I know what went wrong between YAM 2.7 and YAM 2.9.
The list of members is always checked to be existant, even for plain single persons. Of course this will fail and YAM returns an error in that case. I will fix that ASAP.
The command works on YAM.27 but fails on 2.9 & 2.10Dev
It was tested with the script attached closely derived from http://yam.ch/wiki/Documentation/ARexxAPI/ADDRINFO
http://yam.ch/wiki/Documentation/ARexxAPI/ADDRINFO
I would also like to suggest to have the template
ADDRINFO VAR/K,STEM/K,[ALIAS]
since we have the command ADDRGOTO to change the current entry
/* Only continue if RC == 0 */
SAY 'RC is' RC
IF RC ~= 0 THEN EXIT
/* List results /
SAY 'Type of entry: 'st.type / ST.TYPE */
SAY 'Real name: 'st.name
SAY 'Email address: 'st.email
SAY 'PGP key ID: 'st.pgp
SAY 'Homepage: 'st.homepage
SAY 'Street: 'st.street
SAY 'City: 'st.city
SAY 'Country: 'st.country
SAY 'Phone #: 'st.phone
SAY 'Description: 'st.comment
SAY 'Date of birth: 'st.birthdate
SAY 'Portrait: 'st.image
The text was updated successfully, but these errors were encountered: