When I try to get key value from a structure I get an error however if
I do a dump function, I can see the struct AND the variable which is
referred to similarly.

E.g.
...
ThisValue = STRUCTVARIABLE.THISFOREIGNKEY;
...

I get

Element THISFOREIGNKEY is undefined in STRUCTVARIABLE

However If I do a dump function, dodump(STRUCTVARIABLE) or even dodump
(STRUCTVARIABLE.THISFOREIGNKEY ) just before that line I can see the
entire structure or just the value respectively. I can't see what is
wrong, could this be a cfscript related bug ? Or am I missing
something real obvious ?

One of the things I thought maybe wrong is the scope, but even then it
does not seem that anything is wrong with it...

Dodump() is just a regular cffunction which passes the args to cfdump
inside.

Any thoughts?

Thanks in advance!
Chong

--

You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.


Reply via email to