Run this code in 7.0 and then 7.0.1.
<cfscript>
function f(){
var e = structNew();
try {
x = 1 / 0;
writeOutput("Will never see this");
} catch (any e){
writeOutput("Well that was never gonna work, was it?");
}
}
f();
</cfscript>
What I'm seeing in 7.0.1 is an error, thus: "Cannot declare local variable e
twice."
What's the story here?
--
Adam
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.361 / Virus Database: 267.12.4/146 - Release Date: 21/10/2005
This email contains confidential information. If you are not the intended
recipient of this email, please notify Straker Interactive and delete the
email. You are not entitled to use it in any way.
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).
CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]