function parameters+appendation to name variables? possible?
Posted: March 26th, 2006, 3:09 am
last question for the weekend, you probably won't hear from me until next saturday.
so i can i use a parameter of a function to define a variable, but what if i want to append something to the name of the variable?
eg function(parameter)
{
var parameterComp = subFolder.items.addComp(etc);
var parameterDuration = etc
}
how do i get "Comp" appended to my parameter when declaring this variable? is this possible?
so i can i use a parameter of a function to define a variable, but what if i want to append something to the name of the variable?
eg function(parameter)
{
var parameterComp = subFolder.items.addComp(etc);
var parameterDuration = etc
}
how do i get "Comp" appended to my parameter when declaring this variable? is this possible?