On 6/21/05, Jeff Anderson <[EMAIL PROTECTED]> wrote: > i just tested harry's code and did some testing with the results... ... > perhaps that last value is the reference address when you did the > argumentcollection? or some other java object floating around in the ether?
A little more digging shows that arguments[3] is null. If you iterate over arguments as a collection, you only get two entries. structCount(arguments) seems to return the number of keys, even when those keys refer to null values. However, structKeyList(arguments) only returns keys for non-null values. Loop by structCount - isObject(): i = 1 NO argument no. 1 i = 2 NO argument no. 2 i = 3 YES arguments[3] is null Loop by collection - isObject(): i = B NO argument no. 2 i = A NO argument no. 1 structKeyList(arguments) = B,A -- Sean A Corfield -- http://corfield.org/ Team Fusebox -- http://fusebox.org/ Got Gmail? -- I have 50, yes 50, invites to give away! "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
