In a recent note, Dave Salt said:

> Date:         Sat, 11 Feb 2006 19:39:48 +0000
> 
> >From: Paul Gilmartin <[log in to unmask]>
> >Let me see if I understand this:
> >
> >     SET RED = 'WOMBAT'
> >     SET COLOR = RED
> >     PRINT &&COLOR    /* Prints 'WOMBAT', Doesn't it? */
> 
> The CLIST syntax to display WOMBAT would be as follows:
> 
> SET RED = WOMBAT     /* No quotes required */
> SET COLOR = &RED      /* Ampersand required */
> WRITE &COLOR         /* WRITE instead of PRINT, with one ampersand */
> 
No!  Missed the point!  If I wanted to display WOMBAT, I could
simply do

  WRITE WOMBAT

couldn't I?  The objective is to assign to or display the
variable whose (unspecified) name is in &COLOR. The Rexx
equivalent would be:

    interpret color "= 'WOMBAT'"

> Hope this helps,
> 
Not really, but thanks for trying.

-- gil
-- 
StorageTek
INFORMATION made POWERFUL

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to