|
Thank you Hans. I almost replied the same thing. But didn't because I don't know C. Rob Berendt ================== A smart person learns from their mistakes, but a wise person learns from OTHER peoples mistakes. boldt@ca.ibm.com Sent by: To: rpg400-l@midrange.com rpg400-l-admin@mi cc: drange.com Fax to: Subject: Re: (no subject) 09/21/2001 07:57 AM Please respond to rpg400-l Bob wrote: >Please don't tell me that they require a semi colon at the end of IF >conditional statements? Not even C requires that. :( Bob: Give me a break! You don't seriously expect us to believe that this is the first time you've seen the syntax for the /free calcs, do you? We spent a fair bit of time here debating the new revised syntax for free-form calcs, and we finally decided that the easiest rule to remember would be a semi-colon at the end of each and every statement. No exceptions. This way, you don't have to keep a list tacked to your monitor listing which statements take a semi-colon and which don't. You like C syntax? Then go ahead and use C. It too is a good language, but it has its quirks. In particular, the rules regarding the use of the semi-colon in C aren't a model of consistency. Cheers! Hans Hans Boldt, ILE RPG Development, IBM Toronto Lab, boldt@ca.ibm.com _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com 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.