-Matt
On Wednesday, June 11, 2003, at 03:27 PM, Jim Mattson wrote:
Hello,
I have a cffunction that returns an array of objects. I need to store the array of objects into a temporary variable before I use it. For example:
myObj = createObject("component", "MyComponent");
I can not do this: --> ArrayLen(myObj.getArray()) or --> myObj.getArray()[1].getInnerObj()
I need to change the above syntax to:
myTempArray = myObj.getArray(); ArrayLen(myTempArray); myTempArray[1].getInnerObj();
Isn't CF forcing us to allocate additional memory space by storing the array into a temporary array??? Does anyone know why this is implemented this?
__________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
