|
ReedN Wizard
Joined: 04 Jan 2006 Posts: 1279 Location: Portland, Oregon
|
Posted: Fri Mar 03, 2006 9:50 pm
Using variables to create variable names |
I've had a problem with this for a while. I often want to create a variable name with a variable such as:
#var prefix myPrefix
#var <@prefix>_RestofName 1
or perhaps
#var prefix myPrefix
#var varname @<@prefix>_RestofName
My brain is realing trying to figure out how to get these to evaluate appropriatly. I've tried using <> in the past with varying success and wanted to see if anyone has got a better solution. |
|
|
|
Vorax Apprentice
Joined: 29 Jun 2001 Posts: 198 Location: USA
|
Posted: Fri Mar 03, 2006 10:51 pm |
You should be able to use a syntax such as
#VAR @{prefix}_RestofName 1 |
|
|
|
ReedN Wizard
Joined: 04 Jan 2006 Posts: 1279 Location: Portland, Oregon
|
Posted: Fri Mar 03, 2006 10:53 pm |
Does this work in all cases? The editor at least seem to quite often have a hard time understanding what I'm trying to do.
|
|
|
|
|
|