<cfset variables.foo = structNew()>
<cfset variables.foo.bar = "blah">
<cfdump var="#variables.foo#">
Just don't do this:
<cfdump var="#variables#">
-joe
----- Original Message -----
From: Matt Robertson <[EMAIL PROTECTED]>
Date: Wed, 14 Jul 2004 10:58:30 -0700
Subject: Use a struct in the variables scope on CF5? 4.5?
To: CF-Talk <[EMAIL PROTECTED]>
Sorrry for the post, but I can't test this anymore.
I want to do this:
variables.foo=structnew();
variables.foo.bar=blah;
But I don't want to do it if it will break in older versions of CF.
Was this legal back then?
--
--Matt Robertson--
MSB Designs, Inc.
mysecretbase.com________________________________
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]