The real problem is that they want to use it in ALL future opcodes, not just
Eval-CORR. So every new opcode name will be contrived just to add a hyphen. 

  Get-Date
  Get-Time
  Eval-Corr
  xml-Parse
  


-Bob Cozzi
www.RPGxTools.com
If everything is under control, you are going too slow.
- Mario Andretti


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of rob@xxxxxxxxx
Sent: Tuesday, June 07, 2005 8:33 AM
To: RPG programming on the AS400 / iSeries
Subject: Re: Hyphenated OpCode Names

If EVALCORR bothers you, then use EvalCorr.

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

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2026 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.