True, on successful completion

0 views
Skip to first unread message

WebFlint

unread,
Apr 30, 2009, 3:57:45 PM4/30/09
to CFML
Something that has always puzzled me about CFML was the return values
from a number of the functions that return "True, on successful
completion". I haven't made a full list of them but there are quite a
few.

I've never found this value useful, and have never used it. Never as
in ever. What always struck me as odd is why it didn't just return
the array or struct? Now that could at least be useful. We could at
least nest our expressions as in.... sorry for the trivial example.

ArrayAppend ( ArrayAppend ( myArray. "value1"), "value2" )

Am I missing something here, or are these return values absolutely
useless, since the functions throw exceptions if they fail.

.brett
Reply all
Reply to author
Forward
0 new messages