On Thu, 19 Mar 2020 22:20:23 +0800, David Crayford wrote:

>Subject: Does anybody remember CLIST?
>
Not if I can help it.

>I'm trying to convert CLIIST to REXX and CLIST has symbolic
>substitution. I've used this before in NCL but it's a long time ago.
>
>Can anybody tell me what this does and translate to REXX? I'm guessing I
>need to use interpret or value()!


On Thu, 19 Mar 2020 14:59:29 +0000, Seymour J Metz wrote:

>No, in many cases you can use compound variables to avoi9d using value(). 
>
+1
INTERPRET is even worse.

>The two ugly issues for converting CLIST to REXX are keyword parameters and 
>the stack interface (see DATA PROMPT).
>
Also, the modal interface with antique EDIT.  Likewise CMS EXEC
with EDIT.

>SET VARNX = &&VARN&GLCV
>IF (&VARNX = &SYMBOL) THEN DO
>   SET VARFND = 1
>   SET VARVX  = &&VARV&GLCV
>   SET SYMBOL = &STR(&VARVX)
>END
>
It's ironic that people comfortable with CLIST (example above)
are contemptuous of C:
    https://www.gnu.org/fun/jokes/unix-hoax.html

-- gil

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

Reply via email to