On Jan 8, 2004, at 7:42 PM, Taco Fleur wrote:
Why not the simpler form:
        variables.firstName.columnName = "firstName";
        variables.firstName.dataType = "varchar";
Correct me if I am wrong, but is this not new to CFMX?

Since you've already said this... variables.firstName = structNew(); ...CF knows it's a struct and so you can just assign to members of it.

(No, I don't have CF5 handy to test that statement but I'm *fairly* sure I'm right)

What is new is being able to say:
        foo.bar = 1;
*without* first saying:
        foo = structNew();

Sean A Corfield -- http://www.corfield.org/blog/

"I can smell your brains!"
-- Mittens the Kitten : http://www.matazone.co.uk/theotherside.html


--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to