I ran across what I thought was a bug in my code, but it works.
<cffile
  action="readBinary"
  file="#expandPath("projFiles/#url.jobNum#/#url.fileToOpen#")#"
  variable="thisFile">

You'll notice that in the file attribute I've got another quoted value
within the main quotes.  When I saw this I thought it was a bug, but
then I remembered that the page hasn't caused me problems before.  So
I tried to run it and sure enough, it works.  In the past I've always
used single quotes for the inner value where necessary, so I'm
surprised this works.  I could swear that I've had syntax errors from
this before...

-- 
My Sites:
http://www.techfeed.net/blog/
http://www.cfquickdocs.com/
http://cfformprotect.riaforge.org/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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

Reply via email to