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



Assuming that works at all, I'd imagine they're unary (term?). That is, a
=- b means a is replaced by the reverse sign of b.

Arthur J. Marino
Southern Container Corporation
(631) 297 - 2276



Jerry Adams <jerry@xxxxxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
02/29/2008 04:40 PM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
RPG Midrange <rpg400-l@xxxxxxxxxxxx>
cc

Subject
Free-Format Question






First off I'm going to admit that I fat fingered this one.

DOW not %eof(LINES)
AND (blref# =- bnref# AND bljrcd = bnjrcd);

Notice the minus (-) after the first equal (=).

The program compiled, but didn't work when I tested it. I remember
"attending" a webcast by Susan Gantner during which she mentioned that
for incrementals (or decrementals) the operator had to be += (or -=),
but definitely not the other way around.

I neglected to ask her, though, just what is the purpose/function of =+
or =- (both of which I have, as I said, fat fingered). I tried to find
an explanation of the =+ in Jim Martin's book on Free-Format and in both
the ILE RPG Reference and Programmer's Guide manuals for an explanation
of what =+ or =- is for. Obviously the compiler (and WDSc's RSE) thinks
they mean something.

Anyone know what =+ and =- are for/do?

Thanks.

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.