FSVO goto that lives in a different universe from PL/I. The REXX signal statement trashes the stack rather than simply popping it appropriately. Consider
do I=1 to n do j=1 to m ... if foo then signal bar ... end ... bar: ... end -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of David Spiegel <dspiegel...@hotmail.com> Sent: Friday, January 11, 2019 3:38 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Unreadable code (Was: Concurrent Server Task Dispatch issue multitasking issue) Hi R'Shmuel, "... signal is not a goto ..." ?! It is also true that Signal has other operands, but, in its most basic form it is EXACTLY a goto. Regards, David On 2019-01-11 15:32, Seymour J Metz wrote: > A lot of the syntax comes from PL/I, although not the use of a continuation > character and not the use of labels (no, signal is not a goto.) > > > -- > Shmuel (Seymour J.) Metz > https://eur01.safelinks.protection.outlook.com/?url=http:%2F%2Fmason.gmu.edu%2F~smetz3&data=02%7C01%7C%7Cf91df8aa05b2424ac21808d67804058f%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636828356004192153&sdata=R4qBf6zROqkxfRibpdhnLSMnoo%2B7e4w1mJo7zxJ7F80%3D&reserved=0 > > ________________________________________ > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of > Paul Gilmartin <0000000433f07816-dmarc-requ...@listserv.ua.edu> > Sent: Thursday, January 10, 2019 9:27 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Unreadable code (Was: Concurrent Server Task Dispatch issue > multitasking issue) > > On Thu, 10 Jan 2019 19:30:41 -0500, zMan wrote: > >> Semicolons?😀 >> > (My laptop doesn't speak emoji.) > > Semicolons, yes, but: > do <=> { > end <=> } > switch <=> SELECT > ... > I think Rexx got much of its lexical flavor from PL/I. But that's easy for > me to say becase I don't know PL/I. > >> On Thu, Jan 10, 2019 at 6:48 PM Steve Smith wrote: >> >>> REXX is lot like C? I can't think of anything they have in common beyond >>> the minimum basics of any procedural language. > Bless Rexx for making ';' and newline very nearly interchangeable, in contrast > to POSIX Shell script, where they aren't. > > -- gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN