|
Joe,
I hate the over use of semicolons too but find working around the MOVE is
relatively easy.
/FREE
Eval x= a+b/c;
/END-FREE
C MOVEL ACTNBR OLDACTH
/FREE
Eval msg = OldActH + 'Here ya go!';
/end-fREE
<TIC> :)
Bob Cozzi
Cozzi Consulting
www.rpgiv.com
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Joe Pluta
Sent: Tuesday, November 18, 2003 9:27 AM
To: 'RPG programming on the AS400 / iSeries'
Subject: RE: RPG IV release levels and complexity
> From: Bartell, Aaron L. (TC)
>
> Not that I want to start another crazy thread about /Free, but these
> comments usually come from people that haven't used it enough. Even
Joe
> Pluta recently agreed that /Free format is a good thing after many
many
> disagreeing posts.
Careful, Aaron. My statement was that I like the flexibility of /free,
and that I have learned to code around the lack of a MOVE opcode. I
still think the lack of a MOVE opcode or BIF is still an unjustifiable
wart on what could be an otherwise useful syntax.
I use /free for new development. It's great in WDSC, where you can see
a nice 60x80 rectangle, which is plenty of room for all but the most
complex procedures. And even so, I still run into places where I wish I
had the MOVE opcode, and like Colin, I find it a pain to have to
workaround this artificial limitation - a limitation imposed by fiat by
the compiler team.
So, my position hasn't really changed. /free is good for new
development, but it sucks for legacy systems solely because of the lack
of a MOVE. Oh, and I hate the semi-colons <grin>.
Joe
_______________________________________________
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-2025 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.