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



>Not having to type the long variable name twice saves time and,
on average, half the typographical errors made when typing it
twice.

Also, once people start using editors like WDSc, Code Assist will take care
of a lot of spelling errors and reduce typing.  The tools for RPG editing
are becoming quite nice, and I hope they continue to see it as a wise
investment.

Aaron Bartell

-----Original Message-----
From: Mel Rothman [mailto:mel@xxxxxxxxxxxxxx]
Sent: Tuesday, November 25, 2003 12:22 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: Shorthand Syntax (was XFoot with Qualified DS's)


There's not much difference between
   a = a + b
and
   a += b

However, if one takes advantage of "nice long variable names,"
there is a much bigger difference between:

   FirstQuarterCompanyTotal = FirstQuarterCompanyTotal +
FirstQuarterDepartment
and
   FirstQuarterCompanyTotal += FirstQuarterDepartment

Not having to type the long variable name twice saves time and,
on average, half the typographical errors made when typing it
twice.

Fellow dinosaur,

Mel Rothman
Mel Rothman, Inc.




Michael Naughton wrote:
> Call me a dinosaur (and you probably will :-), and I certainly don't mean
> to rain on anyone's parade, but IMHO these are syntaxes which I will
> probably never use.
> 
> On the one hand, we're all grateful for the RPG enhancements that allow us
> to enter nice long variable names, and we're happy that we can now mix
> upper and lower case and give the shift key a workout, but somehow we
> can't abide the notion of having to type:
> 
> a = a + b
> 
> and instead are begging to be able to limit ourselves to
> 
> a += b
> 
> Personally, I don't see the point (won't be the first time ;-).
> 
> JMHO
> 


_______________________________________________
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 thread ...


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.