Question
Dodging the evaluate function
Hi,
I have a data source that supplies the scope, name and value of a variable. Obviously dynamic values is what CF is all about. A dynamic variable name can be used (without the evaluate function) by using:
#Form["product_" & i]#
But how do I use a dynamic scope, without using the evaluate function? I have used:
evaluate('#scope#'& '.' & '#variableName#')
and this seems to work. Does anyone know how to do this without using evaluate?
Thanks in advance.
Stephen
I have a data source that supplies the scope, name and value of a variable. Obviously dynamic values is what CF is all about. A dynamic variable name can be used (without the evaluate function) by using:
#Form["product_" & i]#
But how do I use a dynamic scope, without using the evaluate function? I have used:
evaluate('#scope#'& '.' & '#variableName#')
and this seems to work. Does anyone know how to do this without using evaluate?
Thanks in advance.
Stephen
