View previous topic :: View next topic |
Author |
Message |
ayashp Beginner

Joined: 20 Dec 2005 Posts: 9 Topics: 3
|
Posted: Tue Dec 20, 2005 4:17 am Post subject: COMPUTE vs ADD/SUBTRACT/MULTIPLY/DIVIDE |
|
|
Is COMPUTE better/faster than ADD/SUBTRACT/MULTIPLY/DIVIDE in COBOL. If so, then can anyone tell the reason why COMPUTE is better? |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12377 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
ayashp Beginner

Joined: 20 Dec 2005 Posts: 9 Topics: 3
|
Posted: Tue Dec 20, 2005 5:42 am Post subject: |
|
|
Thanks Kolusu..
From the link I found that it depends on the complexity of the situation where COMPUTE or ADD will be used and depending on that performance of the verbs will be decided. |
|
Back to top |
|
 |
|
|