|
If you go out to www.opensource400.org and download apipr.zip ( http://www.opensource400.org/downloads/apipr.zip ) I have prototyped all the api's needed to work with user spaces. I can dig up an example (a very simple on cause I had just figured them out) of how to create, write to and retrieve data from a user space if you need it. Jim Langston wrote: > > Hmm... what exactly is a "user space"? I've heard mention of these, > but always thought they were the same thing as a User Data Structure > (UDS). Are they one in the same? > > Regards, > > Jim Langston > > "L. S. Russell" wrote: > > > Why not put the text in a user space and read the text into a variable > > and write it out. > > > > Joel Fritz wrote: > > > > > > All you have to do with the array is make it arbitrarily large (enough to > > > hold the text any way) and mark the end with a delimiter like '//end' or > > > something equally creative. Once you start thinking in terms of control > > > codes, it's like Bank Street Writer or Text 38 all over >again--possibilities > > > are limitless.<G> Condition the loop on finding the end marker. It does > > > involve incrementing the array index manually and watching for overflow, > > > though. Just having gone through a round of sending out batches of e-mail > > > with the text in a file, I can see some advantages to the array. You can > > > edit the text and get AS/400 WYSIWYG. > > > > > > 'Course, if you put the text in a source member, you can actually edit it > > > with Text 38.<g> > > > > > > Again, it's a matter of taste, and whether the text is likely to change. > > +--- > | 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 > +--- -- L. S. Russell Programmer/Analyst Datrek Professional Bags, Inc. 2413 Industrial Drive Springfield, TN. 37172 mailto:leslier@datrek.com http://www.datrek.com -- +--- | 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.