Archive for September, 2009
(Thanks to Kevin for the inspiration!)
This Sunday's message was about money. Yep, pretty exhilarating, right? I mean, who doesn't LOVE to sit through half-an-hour-or-so of hearing someone speak at you about how you should give more, how giving money is an act of worship, how you really will be blessed-in-spite-of-the-recession…blah-blah-blah, right?
We've all sat through these messages before. We've all heard how only 3% of Americans Biblically tithe 10% of their income, and of course that means that you, me, and the person sitting in front of us are not in the holy 3%. But we should be thanked nonetheless, right? After all, without the 97% of us backslidden, God-hating heathens, pastors wouldn't have such wonderfully shocking statistics. That counts as some form of giving, right?
In all seriousness, growing up in the church I've sat through an unbearable number of messages about money. I've heard pastors rail against congregations for not giving enough; I've heard others try to coax money out of their parishioners on the promise of God formulaicly responding to their act of generosity and sacrifice; and I've even seen people intimidated out of their money by, let's say, overly enthusiastic ministers trying to mold their listeners into the More >
In a previous post, I wrote about watching out for data type mismatches when using the CFSharePoint tag. While this is all well and good, much of my post was based on a misconception of how an "inout parameter" works. While I can't claim great knowledge of this, I think I have a better understanding.
From what I understand, an inout parameter expects a specifically named parameter–let's say "Result"–to be passed in. When you pass this parameter to the web service, the value, or "out", should be the variable that you want returned. So if I want the "results" parameter to return its value as "finalResults", you could do something like:results="finalResults"
In the last post, I was under the impression that the initial value of "results" HAD to be a ColdFusion data type, like a structure or array. This is not correct. Sure, I can pass in the appropriate data type with the "results" parameter; however, whatever structure I pass in will overwrite the "out". This is why if you run the example I provided in the last post, copying an "About.doc" file from one folder to another will really just create a new "About.doc" with the value of the binary object More >
- Click to share on Google+ (Opens in new window)
- Click to share on Twitter (Opens in new window)
- Share on Facebook (Opens in new window)
- Click to email this to a friend (Opens in new window)
- Click to print (Opens in new window)