I'm convinced that a clist array variable could be achieved since it's only an issue of symatic expression. The real question is time, cost and user acceptance. - Paul Hanrahan
-----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Paul Gilmartin Sent: Saturday, February 11, 2006 3:51 PM To: [email protected] Subject: Re: CLIST array variable? 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 ---------------------------------------------------------------------- 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

