M
Mark
I know I should know this, but can't figure it out.
Please help.
In a function I will be passing a number (int). Let's
call this variable 'order'
I then create a variable that appends this
variable 'order' to a set string. And that's easy
enough --
variable = "item" & order
The problem is that I now need that concatenated string --
item1 -- to be the name of a (3rd) variable I use.
In other words the function will be written to do
different things depending on the item, so logic varies
among item1, item2, and so on.
Once I derive the 'name' of the variable (item1, or
item2, etc.) how do I then use that derivation as a
variable name?
Thanks for *any* help -- (e-mail address removed)
Please help.
In a function I will be passing a number (int). Let's
call this variable 'order'
I then create a variable that appends this
variable 'order' to a set string. And that's easy
enough --
variable = "item" & order
The problem is that I now need that concatenated string --
item1 -- to be the name of a (3rd) variable I use.
In other words the function will be written to do
different things depending on the item, so logic varies
among item1, item2, and so on.
Once I derive the 'name' of the variable (item1, or
item2, etc.) how do I then use that derivation as a
variable name?
Thanks for *any* help -- (e-mail address removed)