×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




ILE RPG Language Reference, Version 5, ch. 21 Expressions, see the list under Expression Operators.

Regards,
John McKay mba
www.rpglanguage.com
www.mckaysoftware.ie

----- Original Message ----- From: "Booth Martin" <booth@xxxxxxxxxxxx>
To: "RPG programming on the IBM i / System i" <rpg400-l@xxxxxxxxxxxx>
Sent: Thursday, July 29, 2010 4:06 PM
Subject: Re: What is the ** in an eval for?


I believe you but I haven't been able to find any reference to ** in the
RPGLE manual for V5R4.



On 7/28/2010 10:13 PM, Dennis Lovelady wrote:
I believe that's "raised to the power of"

So, result = 2 + (3 * 3 * 3 * 3)

The ILE RPG reference manual has a good discussion on operators. I'm just
sayin'...

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"I'm one of those mayors whose management style is to allow free and
unlimited debate up to a point."
-- Washington, D.C. mayor Marion Barry

C eval result = 2 + (3 **4)

what is the value of result? (I have never seen ** in an eval
statement
before and can't find it mentioned in the reference manual.)

--
This is the RPG programming on the IBM i / System i (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-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.