Docs to get you started will be included in the SP2 Release Candidate, due
out shortly on the Allaire Beta site.
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe:
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
If I had to guess...
StructFindKey is the same as StructKeyExists, but maybe it returns the value
automatically.
StructFindValue() perhaps returns the key that matches a value.
StructFindKey(), StructFindValue()
I'm at a complete loss for these. Anyone got any ideas?
I said:
CFIF NOT StructKeyExists(struct,var)
CFSET struct[var]=""
/CFIF
CFSET struct[var]=ListAppend(struct[var],value)
To which Dave said:
You can do this in 4.5.x with StructInsert. If you specify a fourth
argument, you can allow it to both insert and update:
cfset rs =
4 matches
Mail list logo