I just noticed an odd behavior that I wanted to confirm.

I have a CFC that has a function that uses a CFINCLUDE in the function to
set some variables.  At the top of that function, I have a bunch of "var"
scoped variables.  If I dump the "variables" scope immediately after
declaring these, all is well - they don't show up.  After I call the
CFINCLUDE however, if I dump the "variables" scope, all of my "var" scope
variables have been dumped into the "variables" scope!!!!!

I though I was crazy at first, but I've tried it numerous times now, and
it's always true!  Attached is a simple test case.  Run test.cfm and you'll
see what I mean.

!?!?!?!

Roland

Attachment: test.cfm
Description: Binary data

Attachment: test_inc.cfm
Description: Binary data

Attachment: test.cfc
Description: Binary data

Reply via email to