Is there documentation anywhere on what some of these enhancements (will)
do?  Just looking at the function names, I have a few questions.  The beta
site seems to have a definite paucity of information in this respect, but
maybe I'm just not finding it.  (Yes, yes, I know, it's beta so the
functionality is subject to change.)

Specifically:

StructGet()
I imagine this expands to: value=StructGet(structname,keyname)
I dunno why you'd use this instead of operator[], but then again I also
don't use StructFind() or StructInsert().  Actually, this begs a good
question - should I be using these functions?  I wonder if they are faster
or whatnot.  Hmmm.  I'll have to do some testing on that one.

StructAppend()
If this is what I think it is, then I shall praise (and buy beer for) the
developer who finally put this in.  I have a zillion cases of:
  <CFIF NOT StructKeyExists(struct,var)>
      <CFSET struct[var]="">
  </CFIF>
  <CFSET struct[var]=ListAppend(struct[var],value)>
If this can be shortened to StructAppend(struct,var,value), I will be a very
happy man.

StructSort()
Hmm.  Maybe this is so that you can sort the keys in descending order?  Or
maybe sort the keys by the value?  Haven't found a use for either one of
these yet, but I'm sure someone can probably use them.  (I still want a
StructKeys() function that returns a list/array of key names, tho.  Yes, I
know, I can generate one, but I want a function for it.  :)

StructFindKey(), StructFindValue()
I'm at a complete loss for these.  Anyone got any ideas?


As for bug fixes, this one gets get a Woohoo! from me: 19520 CFHTTP crashes
w/very long form variables posted

Thanks for the info, Damian!

-Rick


------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to