Thanks Tim. Yeah, will move to functions later. Thanks all for the help, all, got it working.
Chad who wonders if it is coincidence that gmail always makes Tim's name pink... not that there's anything wrong with that On 5/12/05, Tim McAuliffe <[EMAIL PROTECTED]> wrote: > Hi Chad, > > Because 'MyArray' is defined as a local variable in your custom tag, you'd > write: > <cfset caller.MyArray = variables.MyArray> > inside the tag. > > caller.MyArray now becomes a local variable on the calling page, so on > your calling page it's: > variables.MyArray > > If your custom tag doesn't produce any output though, it'd probably be > better to write a function instead of a tag. That way, you can return the > array from the function. > > HTH > > Tim > > > So would > > > > <cfset caller.MyArray = attributes.MyArray> > > > > work? > > > > And in my main template I called the customer tag from, how would I > > refer to the variable? > > > > variables.MayArray[1][1] > > > > ? > > > > Still trying to get my head around it. > > > > Chad > > who gets his head around too many things these days > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
