View previous topic :: View next topic
|
Author |
Message |
daye.Zheng
New User
Joined: 15 Feb 2008 Posts: 22 Location: China
|
|
|
|
Hi all,
I got a problem.
COMPUTE A = 10 ** B,
My question is what is the ** meanning??
if the B is 10, what is the result of A ?? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
What happens when you run this on your system?
At the top of the page is a link to "IBM Manuals". Click on the COBOL Language Reference for the version of COBOL you are using. Search in that manual (the flashlight/tubelight) for "Arithmetic operators". |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Daye,
Quote: |
My question is what is the ** meanning??
|
It refers to "exponentiation" and as suggested by Dick do refer the manuals. |
|
Back to top |
|
|
|