View previous topic :: View next topic
|
Author |
Message |
krishnakumarramaraj
New User
Joined: 15 Nov 2005 Posts: 15 Location: chennai
|
|
|
|
Pls explain me the difference b/w NEXTSENTENCE and CONTINUE.I was confused b'coz iam new to mainframes |
|
Back to top |
|
|
jckraheja
New User
Joined: 19 May 2008 Posts: 13 Location: Pune
|
|
|
|
Hey ,
Hv u find the answer to yr query??...if not then i am giving short explanation below....find more by googling....
E.g. If A > B
Continue/Next Sentence // any of the one
else
//do the other things
End-if
Move A to C.
Move B to C.
Stop Run.
Continue:
It will execute the program after the de-limiters (End-if) so the stmt Move A to C will get execute (along with other stmt present after ones.)
Next Sentence:
It will execute the program from the next sentence means stmts presents after 1st DOT (.).[After the NEXT SENTENCE] So the stmt Move B to C will get execute. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
Back to top |
|
|
|