|
I remember a thread going on for a while where there was an issue with returning only a single character that wouldn't work in some situations. If you set the parameter to 2 characters or more, it would work fine. Unfortunately, I don't remember why this was, but it made sense at the time, nor can I find it in the archives with the perfunctionary search I did. When you find the answer, I think you should add this to the FAQ please. Regards, Jim Langston Me transmitte sursum, Caledoni! Slava Zharichenko wrote: > > Hi, > i found following post on midrange list: > http://archive.midrange.com/midrange-l/200001/msg00450.html > > and change return variable definition from 1 *char to 16 *char even RPG > procedure returns only 1 *char. > > Now it works , first byte contain return value and other 15 some none > displayable characters. > > Can anybody explain it? > <SNIP> +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.