To extend my own post, another experiment:

  SET RED = BLUE
  SET COLOR = &RED
  SET COLLAR = &&RED
  WRITE 'Write of &COLOR: ' &COLOR
  WRITE 'Write of &&COLOR: ' &&COLOR
  WRITE 'Write of &&COLLAR: ' &&COLLAR
  WRITE 'Write of &COLLAR: ' &COLLAR

produces:

 'WRITE OF BLUE: ' BLUE
 'WRITE OF &COLOR: ' &COLOR
 'WRITE OF &COLLAR: ' &COLLAR
 'WRITE OF BLUE: ' BLUE

For what it's worth.

Kind regards,

-Steve Comstock

----------------------------------------------------------------------
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