Create a complete page with only the following: <cfscript> throw(message="Test one"); </cfscript>
When you execute it, "Variable THROW is undefined" is thrown. Andy -----Original Message----- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 5:13 PM To: CF-Talk Subject: RE: Can I Throw within <cfscript>??? foo(x=y z=a) is not valid in cfml. The example in the link below does not do that. You should instead do: foo(y,a) or foo(x=y,z=a) ======================================================================== === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email : [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: Andy Ousterhout [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 16, 2003 4:03 PM > To: CF-Talk > Subject: RE: Can I Throw within <cfscript>??? > > > Raymond, > > CFFunction works, what doesn't is: > > <cfscript> > throw(type="ValidationError" Message="This just wont work"); > ....... > > Andy > > -----Original Message----- > From: Raymond Camden [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 16, 2003 4:50 PM > To: CF-Talk > Subject: RE: Can I Throw within <cfscript>??? > > > Why not? Every OS running CFMX will support cffunction. > > ============================================================== > ========== > === > Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc > (www.mindseye.com) > Member of Team Macromedia > (http://www.macromedia.com/go/teammacromedia) > > Email : > [EMAIL PROTECTED] > Blog : www.camdenfamily.com/morpheus/blog > Yahoo IM : morpheus > > "My ally is the Force, and a powerful ally it is." - Yoda > > > -----Original Message----- > > From: Andy Ousterhout [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, September 16, 2003 3:40 PM > > To: CF-Talk > > Subject: RE: Can I Throw within <cfscript>??? > > > > > > This won't work on my system running under NT & MX. > > > > Andy > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, September 16, 2003 3:53 PM > > To: CF-Talk > > Subject: RE: Can I Throw within <cfscript>??? > > > > > > no need for wrapper...throw(); > > > http://www.mail-archive.com/[EMAIL PROTECTED]/msg145231.html > for an example > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm