|
View previous topic :: View next topic
|
| Author |
Message |
UmeySan
Active Member

Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
Hi everyone,
I have come across a COBOL code as like below. Could anyone please explain me what the 'EVERY' statement means in this context.
The on statement is familiar but i can't remember the every notation.
ON 2 AND EVERY 1
Thanks in advance, UmeySan |
|
| Back to top |
|
 |
prino
Senior Member

Joined: 07 Feb 2009 Posts: 1325 Location: Vilnius, Lithuania
|
|
|
|
| How about RTFM? |
|
| Back to top |
|
 |
UmeySan
Active Member

Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
Superduper !!!
Before spending time in searching some old DOS/VS Cobol Manuals, i hoped
some of the older experts could easily explain it in one sentence.
By the way, and to enlighten you if you don't knew it yourself, i figured out how it works.
ON 2 AND EVERY 1
On the first iteration do nothing
From the second iteration and for every next, do something.
Greeetings from Cologne to Ostende
UmeySan |
|
| Back to top |
|
 |
|
|