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/

Reply via email to