ummm....
>
> yeah.. saw that, but if thats the case why does
>
> x = "myvar";
> varname = "this.#x#";
> value = "default";
>
> setvariable(varname,defaultvalue);
>
> work?
>
because varname is actually equal to a string which is "this.myvar", so
you're giving the complete variable name to setvariable.
Where as this.#myvar# is trying to create the variable name dynamically.....
Originally you'd do <cfset "this.#x#" = value> or <cfset rubbish =
setvariable("this.#x#",value)>Clear as mud, right? Stephen -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
