× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Alan,

I should be clear that I'm not agreeing with this - I'm saying I think it's
how things are.

For my part, although I've been doing basic ILE-type stuff since the
late-90's (procedures, modules, service programs, free-format code and,
yes, varying strings) and more complex things (recursion, procedure
pointers, MI, C and C++ API usage) since the early-00's, it's only in the
last few months that I have started using the '+=' and '-=' BIF's. I just
never saw the benefit of 'A += 1' rather than 'A = A + 1'. Now I use them,
I see the benefit (less code, clearer code). I suspect the same goes for
varying strings

Rory


On Fri, Feb 22, 2013 at 3:43 PM, Alan Campin <alan0307d@xxxxxxxxx> wrote:

Then everyone should have stayed with RPG III? Unfortunately for the i
Series, too many have.


On Fri, Feb 22, 2013 at 4:30 PM, Rory Hewitt <rory.hewitt@xxxxxxxxx>
wrote:

Scott,

This isn't the first poster who has expressed concern about whether a
move
from a varying string to a fixed string will cause problems somehow. It's
just an 'education' thing - if people are used to working with fixed
strings, they may just be wary of spending the time to figure out the
benefits of varying strings. Better the devil you know and all that.

Rory


On Fri, Feb 22, 2013 at 2:43 PM, Scott Klement <
rpg400-l@xxxxxxxxxxxxxxxx
wrote:

IMHO, varying strings are much more elegant to work with. Even if it
doesn't save any CPU cycles, it just makes your code easier to write.

What's the advantage to sticking with fixed-length strings?
--
This is the RPG programming on the IBM i (AS/400 and 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 IBM i (AS/400 and 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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.