|
> If EVALCORR bothers you, then use EvalCorr. I would. But unfortunately I can't write other people's code for them. :) Like I said, to me it isn't really a big deal whether they include the hyphen or not. I never thought of it as indicating subtraction, but that is probably because I am required to code in fixed format and I never expect calculations in the OpCode column. I do agree that a good argument against the hyphen is to stay consistent with other op-codes. (ReadE, EvalR, etc.) Mike > Do we have ReadE or is it Read-E? Do you think Read-E is that much more > readable than ReadE? > > I think that Bob's concern is that our eyes are trained that a hyphen in > RPG indicates an action - subtraction. Granted, a bulk of the time it > will be: > x = z-y > or > x-=1 > or > x=-1 > Remembering that many people don't bother with the optional Eval op code. > > Which brings up a flash of lightning. Why not just say > > correspond ThisDS ThatDS > > And just trash the eval altogether? > > Rob Berendt > -- > Group Dekko Services, LLC > Dept 01.073 > PO Box 2000 > Dock 108 > 6928N 400E > Kendallville, IN 46755 > http://www.dekko.com > > > > > > Michael Jacobsen <MJacobsen@xxxxxxxxxxxxxxxx> > Sent by: rpg400-l-bounces@xxxxxxxxxxxx > 06/07/2005 08:20 AM > Please respond to > RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> > > > To > RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> > cc > > Subject > Re: Hyphenated OpCode Names > > > > > > > I personally don't see the big deal. But then again, I haven't been > programming very long so maybe I am missing something. What is wrong with > > Eval-Corr? Wouldn't that be easier on the eyes when reading the code (as > opposed to EVALCORR)? > > Mike > > > > What do you all think? > > > > -Bob Cozzi > -- > 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.