View previous topic :: View next topic
|
Author |
Message |
ANKUL KHANDELWAL
New User
Joined: 15 Feb 2007 Posts: 8 Location: pune
|
|
|
|
Hi All,
how many types of perform statements are their.
and also plz tell difference between perform with test before and perform with test after.
thanks,
ankul |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Hi ANKUL KHANDELWAL,
Quote: |
how many types of perform statements are their. |
PERFORM
PERFORM THRU
PERFORM 'N' TIMES
PERFORM UNTIL
PERFORM VARYING WITH 'N' UNTIL OPTION
Quote: |
difference between perform with test before and perform with test after. |
The test condition which you are specifying in the perform is checked before if you are giving "TEST BEFORE "
likewise the condition is checked after executing the loop atlease one time in "TEST AFTER "
"TEST BEFORE" will execute only if the condition is met ...
"TEST AFTER" will execute atlease one time then the condition is checked.
Let me know if you need any more details .. |
|
Back to top |
|
|
vineela
New User
Joined: 26 Feb 2007 Posts: 1 Location: bangalore
|
|
|
|
hi,
further clarification on the above topic.
which will be the default? |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
HI Vineela,
Quote: |
which will be the default? |
What do u mean by this? If u r asking which is default between test befor & test after then answer is test befor.
Let me know if i misunderstood |
|
Back to top |
|
|
devidas-patil
New User
Joined: 08 Jan 2007 Posts: 54 Location: pune
|
|
|
|
I think so she asking about which will be default when we are using the perform varying.
if we are using perform varying then
test before will be the default. |
|
Back to top |
|
|
ANKUL KHANDELWAL
New User
Joined: 15 Feb 2007 Posts: 8 Location: pune
|
|
|
|
HI ALL,
MY ISSUE RESOLVED BOZ.THANK U VERY MUCH,THERE WAS A CONFUSION ,SOME SAID 6 OR 7 TYPES ARE THERE.
THANKS AND REGARDS
ANKUL M KHANDELWAL
PUNE. |
|
Back to top |
|
|
|