Hi Russ... whoops sorry.. yeah that is an MXism... I forgot that freeserve were a little behind...
ok so back in the days of CF4.5 caller was not a proper scope... so yes in your case you need to use evaluate... sorry mate... L. ----- Original Message ----- From: "Russell Brown" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 12, 2002 3:43 PM Subject: RE: [ cf-dev ] Evaluate is bad WAS RE: [ cf-dev ] Looping over form - syntax? Lucas, You givin' me the MX runaround huh ? In cf4.5 (that old war horse) your code gives me an error like this : Error resolving parameter CALLER . I'm guessing its like variables scope and can't be accessed as an associative array, or am I like...uh...mega dumb ? Cheers Russell -----Original Message----- From: Lucas Sherwood [mailto:[EMAIL PROTECTED]] Sent: 12 August 2002 15:37 To: [EMAIL PROTECTED] Subject: Re: [ cf-dev ] Evaluate is bad WAS RE: [ cf-dev ] Looping over form - syntax? umm caller is just another scope... the following should work... <cfscript> "caller.#r_whereToNext#" = caller.=[#r_whereToNext#] & varaibles.whereToNext; </cfscript> ----- Original Message ----- From: "Russell Brown" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 12, 2002 3:34 PM Subject: RE: [ cf-dev ] Evaluate is bad WAS RE: [ cf-dev ] Looping over form - syntax? Since I'm learning stuff today, how can I do this without evaluate ? <cfscript> "caller.#r_whereToNext#" = evaluate("caller.#r_whereToNext#")& varaibles.whereToNext; </cfscript> Russell -----Original Message----- From: Russell Brown Sent: 12 August 2002 15:33 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] Evaluate is bad WAS RE: [ cf-dev ] Looping over form - syntax? I was just curious, I'd never heard that evaluate was bad until today. I need to look at some code and see if there is a better way of doing it than using evaluate now Russell -----Original Message----- From: Taz -=TT=- [mailto:[EMAIL PROTECTED]] Sent: 12 August 2002 15:28 To: [EMAIL PROTECTED] Subject: Re: [ cf-dev ] Evaluate is bad WAS RE: [ cf-dev ] Looping over form - syntax? Go Russel I want to see a fight between Freeserve and Ray Camden. I'll be taking bets down the pub tonight! Taz > Don't see how Evaluate() can be avoided sometimes. I get the picture though, where there is another way use it. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
