Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADDRINFO arexx command fails on YAM2.9 and on YAM2.10Dev (debug version) #647

Closed
JosDuchIt opened this issue Oct 27, 2016 · 1 comment
Closed
Assignees
Milestone

Comments

@JosDuchIt
Copy link

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

/* _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

@tboeckel tboeckel self-assigned this Oct 27, 2016
@tboeckel tboeckel added this to the YAM 2.10 milestone Oct 27, 2016
@tboeckel
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants