At first glance, it returns the container. Simply assign the output of the UDF to a variable, and then reference the variable:
container = getcontainer(stuff); result = container.length; bob = getcontainer(stuff); jim = bob.end; Again, this is first glance, off the top of my head, but it should work. --Ben Montgomery Chris Contr AFSFC/SFPA wrote: > Classification: UNCLASSIFIED > > Howdy, > > I'm running some tests using the GetContainer UDF > ( http://www.cflib.org/udf.cfm?ID=566 ). That function > creates a couple of structures (container and container.contents). > Wondering how to refer to the structure values after the UDF > is run in my template. > > For example, I'd like to use container.contents.end, > container.contents.len, container.contents.str later in my > page. How to do that? > > Running CF5 on Win2003. > > Thanks! > > Chris Montgomery, VAMP Programmer > HQ AF Security Forces Center, Antiterrorism Branch > 1517 Billy Mitchell Blvd, Bldg 954 > Lackland AFB, TX 78236-0119 > DSN 312.945.0432 > Comm 210.925.0432 > > > Classification: UNCLASSIFIED > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189662 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54