Geoffrey
  If I understand you write you want to end up with another variable
called vcement.

  If so here is one way to do it.

  SET VAR vprodname = ('cement')
  SET VAR v1 = ('SET VAR' & 'v' + .vprodname & 'TEXT')
  &v1

Buddy

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Geoffrey
Wheeler
Sent: Tuesday, July 21, 2009 9:21 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Naming Variables from another variable result

Is is possible to define a variable name based on the result of another
variable?  
For instance, I would like to look up a product name based on a product
number 
and assign it to vprodname, say the result is vprodname = cement.  I
would then 
like to define another variable using that product name in the new
variable name, 
say v"cement"usage.   Can this be done?  Thanks

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


Reply via email to