In <[email protected]>, on 04/23/2012
   at 11:27 AM, Gord Tomlin <[email protected]> said:

>Some languages allow the provision of a label for a block, and a
>LEAVE statement that takes a label as an argument. In such 
>languages this construct performs the same function as your GOTO, 
>but in a way that can  be better understood by the optimizer.

I'm not sure that there is a difference in code optimization, but the
code will be more maintamable if you use leave and next in those
languages that support them, rather than equivalent goto statements. 
 
-- 
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     ISO position; see <http://patriot.net/~shmuel/resume/brief.html> 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to