>>So it definitely seems like CF treats the input differently.... somehow.

Not really.
CF is a typeless language.
It is SGML compliant and HTML compatible.
So by definition, EVERYTHING is passed as a string in attributes, even 
if there is no quotation mark.

For function calls, it is a bit different:
Every function expect values to be passed as numeric, date or string or 
object,...
Like in many languages, if the type of an argument is not what is 
expected, the argument will be automatically converted
into the correct format PRIOR to call the function.
It is then an arror to think that a function like dateFormat () can 
receive a date as a string.
It ALWAYS recives date as a date, if the argument was a string, the 
"compiler" had it converted before the function was called.

This is when it becomes dangerous, because CF has to guess the original 
format from which it has to make the conversion,
and sometimes it guesses wrong.

-- 
_______________________________________
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296949
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to