you're treating the structure as an array :P  why dont u just do an arraynew 
instead of structnew




Pooh Bear
Web App Developer
Picture Below (chicks dig my head!)
<HTML>
<HEAD></HEAD>
<BODY>
<IMG SRC="http://www.geocities.com/kickerazn_2000/sniffles_138x92.jpg";>
</BODY>
</HTML>



>From: "Paris Lundis" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: alternating colors, last week and a structure problem.
>Date: Tue, 04 Sep 2001 18:48:58 -0400
>
>so last week we talked about alternating rows and coloration...
>
>I took a tidbit of the code which involved creating a structure to do
>this.. makes a lot of sense.. I thought....
>
>so we have a main application.cfm that is the same throughout our
>site.. it is universal..
>
>we put this in there:
>
><cfscript>
>    server.mycolor = structnew();
>    server.mycolor[0] = '##FFFFFF';
>    server.mycolor[1] = '##CCCCCC';
></cfscript>
>
>so that works and had for a week or more...
>
>then today we start seeing errors all over the place...
>
>in summary:
>
>An error occurred while evaluating the expression:
>
>
>       server.mycolor= structnew();
>       server.mycolor[0]='##FFFFFF';
>       server.mycolor[1]='##CCCCCC';
>
>
>
>
>Error near line 4, column 2.
>------------------------------------------------------------------------
>--------
>
>Cannot assign result to symbol server.mycolor
>
>
>
>Now what does that mean :)
>
>-paris
>the unstructured sort of person...
>[finding the future in the past, passing the future in the present]
>[connecting people, places and things]
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to