On Tue, 4 Nov 2008 12:29:18 +0200, Itschak Mugzach wrote: >I read a record from a dataset. A field named A holds the string value of >'ABCD**'. I then pass the name of the variable to a routine. The routine >resolved the value by name using VALUE(A). If A hold string of **, REXX >thinks this is a power operation,. In Clist, you can limit the number of >levels it will interprate the variable. I want REXX to return value by name >without trying to resolve it and reference it like a string variable. > You seem to have been contaminated by a CLIST mindset. In Rexx, the "number of levels" is always 0. Read the Rexx reference carefully and understand the difference between INTERPRET and value(). The argument of the latter must always be a string which is a valid variable name.
OTOH, many of the followups have been similarly contaminated by a Rexx mindset. -- gil ---------------------------------------------------------------------- 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

