|
This is where ILE is bitter sweet. We can use a ton of different C API's, but they aren't always apparent. I would have never guessed that iconv() converted a string to upper case (which is what I was about to write). Take a look at what PHP has for a rich "BIF" feature set. They have more string functions than RPG has in its entire BIF collection!! I would love it if RPG could make it this far, and have a website similar to www.php.net with the ability to make comments on bifs or whatever. Of course there is nothing stopping somebody on this list doing something like that I guess :-) http://us3.php.net/manual/en/function.strtoupper.php -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Bob Cozzi Sent: Friday, May 21, 2004 8:52 AM To: 'RPG programming on the AS400 / iSeries' Subject: RE: Case conversion (was Re: Large Return values) Hans, Absolutely, that's why I suggested %toupper() it is something everybody needs, deals with the long return values and also has performance implications. So the first question is why would you use iconv() instead of QlgConvertCase? -Bob -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Hans Boldt Sent: Friday, May 21, 2004 8:39 AM To: rpg400-l@xxxxxxxxxxxx Subject: Re: Case conversion (was Re: Large Return values) Bob Cozzi wrote: > Hans, > Would you mind explaining what advantage an IBM-implementation of say... > "%toupper()" built-in function would provide over a programmer-written > "toupper()" procedure? > For example, would a long returned value be an issue, would it be > language independent, would it have any performance implications? > Just to make clear from the start, this is strictly a theoretical question since a %TOUPPER() built-in is not a future objective for us. I'm not sure I see any advantages of a %TOUPPER() built-in since it would be nothing more than a wrapper for the function iconv(). Cheers! Hans _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l. _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
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.