View previous topic :: View next topic
|
Author |
Message |
herewego
New User
Joined: 20 Feb 2006 Posts: 14
|
|
|
|
Hi,
can anyboday knows what exactly is happening or the given below peice of code is working...
PERFORM VARYING SUB FROM INDEX-CODE BY -1
UNTIL SUB NOT > THRESHOLD-LIMT
Thanks
Herewego..... |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
There is more code that you have not posted.
From the little you've posted, assume the PERFORM started with INDEX-CODE being greater than TRESHOLD-LIMIT. The code will iterate until SUB is no longer greater than THRESHOLD-LIMIT.
If you post more code and the associated variables, someone can provide more info for you. |
|
Back to top |
|
|
Balraj
New User
Joined: 16 Aug 2007 Posts: 34 Location: Bangalore
|
|
|
|
hi
Its a Inline Perform
The loop will executes and when it satisfy the condition control comes out
of the loop. |
|
Back to top |
|
|
|