You're right - it's only when a string or a comment splits lines that 
continuation is implied, at least according to the last document I checked. I'd 
update it, but it really needs to have ANSI and OOREXX information folded in as 
well.

The goto is just one of the things that horrified me the first time I saw C.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Paul Gilmartin <[email protected]>
Sent: Tuesday, January 16, 2018 2:19 PM
To: [email protected]
Subject: Re: curious: Popularity & use of C on z/OS.

On Tue, 16 Jan 2018 18:51:55 +0000, Seymour J Metz wrote:

>That's a common beginners' mistake. Try putting the label inside a do block 
>and see what happens. A proper goto would pop what needs to be popped and no 
>more. See <http://www.rexxla.org/Newsletter/9812safe.html>.
>
Yes.

There I also read:
    Continuation
        REXX allows implicit continuation; a statement is treated as continued 
if it
        would otherwise be syntactically invalid.  ...
???
Not in any Rexx I know.  Is this perhaps a peculiarity of OS/2 Rexx?

And C has an improper GOTO.  It allows branching into a block.  It's 
implementation
dependent whether initializations are performed then.  Ugh!

_______________________________________
>From: Jack J. Woehr
>Sent: Sunday, January 14, 2018 3:40 PM
>
>On 1/14/2018 11:35 AM, Seymour J Metz wrote:
>> REXX doesn't have a goto
>
>Sure it does: SIGNAL

-- gil

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

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

Reply via email to