× 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.



Randy,

the interesting thing is, almost everyone I've encouraged to use /free has
liked it and stuck with it once they've used it in anger. I think most
developers like it, once they give it a chance.

I presume your not allowed to use eval or call subprocedure or external
procedures either then, in case a dinosaur (sorry, programmer who does not
grasp how these work, grin0 should happen across a bug in one of your
programs?

cheers
Colin.W

----- Original Message ----- 
From: "Randy Stogner" <Randy.Stogner@xxxxxxxx>
To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
Sent: Tuesday, May 18, 2004 8:21 PM
Subject: RE: Compile error when using field in a subfield data structure


> Having a varied development background, PC, 400, ES900 in everything from
dBase to FoxPro to VB to C to RPG to COBOL to etc... I just don't see the
big deal with using and/or intermingling free form, nor ++ -- etc..... Using
regular or free form or subprocedures or subroutines, and so on, in RPG
doesn't necessarily make you a better programmer, though it may allow you to
do more with less. It's all a matter of style and/or taste. The clincher is
an RPG shops policies and standards, which pretty much come down to a
Majority Rule/Minority Rights situation. Does the Majority that wants to
keep coding in familiar fashion outweigh the rights of the Minority who may,
or may not, have the foresight to see a shifting of paradigms, or an
advantage to the supporting there IT customers.
> Personally, I like /FREE though I'm not allowed to use it in Production
and see where it would be beneficial in the long run.
> If you've taught someone to fish and his method is sufficient to meet his
needs, then that person will never use your new way unless it behooves them
too.
>
> -----Original Message-----
> From: rpg400-l-bounces@xxxxxxxxxxxx
> [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Joe Pluta
> Sent: Tuesday, May 18, 2004 7:38 AM
> To: 'RPG programming on the AS400 / iSeries'
> Subject: RE: Compile error when using field in a subfield data structure
>
>
> > From: Colin Williams
> >
> > Lack of MOVE in free-format wouldn't bother me so much,
> > if the need to put /free,/end-free, to switch from free to fixed and
> back
> > was removed.
> >
> > Surely the presence of the spec, eg C,D,F etc on the left is enough to
> > indicate that it's a fixed format line.
>
> I agree.  This restriction is entirely unnecessary.  And Hans has stated
> in the past that the restriction was put in place precisely to make it
> difficult to switch back and forth.
>
>
>
> > And although the MOVE opcode is powerful, its very power may be the
> cause
> > of
> > many bugs over the years,
> > as it packs a heck of a lot of functionality in one opcode, tthat you
> can
> > easily get wrong.
>
> I disagree here.  This is simply a variation on the "programmers are too
> stupid" argument.  There would be a lot fewer database problems if we
> just got rid of that pesky UPDATE opcode, too <grin>.
>
> Seriously, if you can't handle the MOVE opcode, you shouldn't be
> programming.  You certainly shouldn't have pointers and based variables!
>
>
> > As with all things in this game, its swings and roundabouts!
>
> This I can agree with, anyway.  It's a business decision, not a
> religious decision.  Fixed format RPG IV is just as powerful as free
> format RPG, except where the RPG team has chosen to artificially
> differentiate the syntaxes.
>
> 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.
>
>
> _______________________________________________
> 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 e-mail has been sent by a company of Bertram Group Ltd, whose registered 
office is The Nest, Rosary Road Norwich NR1 1TF. 
This message, and any attachments, are intended solely for the addressee and 
may contain privileged or confidential information.  If you are not the 
intended recipient, any disclosure, copying, distribution or any action taken 
or omitted to be taken in reliance on it, is prohibited and may be unlawful.  
If you believe that you have received this email in error, please contact the 
sender immediately. Opinions, conclusions and statements of intent in this 
e-mail are those of the sender and will not bind a Bertram Group Ltd company 
unless confirmed in writing by a director independently of this message. 
Although we have taken steps to ensure that this email and any attachments are 
free from any virus, we advise that in keeping with good computing practice the 
recipient should ensure they are actually virus free.


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.