RE: CFFUNCTION and VAR's

2003-08-02 Thread Raymond Camden
Just like var in script statements have to be 'on top', the same applies to var scoped variables in CFFUNCTION style UDFs. Simply place them after your cfargument tags and before any line of 'real' code. === Raymond Camden,

RE: CFFUNCTION and VAR's

2003-08-02 Thread Rich Z
(arguments.fields); var qry_results = querynew(Result,ruleID,description); /CFSCRIPT -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Saturday, August 02, 2003 9:14 AM To: CF-Talk Subject: RE: CFFUNCTION and VAR's Just like var in script statements

RE: CFFUNCTION and VAR's

2003-08-02 Thread Raymond Camden
AM To: CF-Talk Subject: RE: CFFUNCTION and VAR's The following code throws an error... cffunction name=execRulesetDetailed access=remote returntype=query displayname=Execute Rule Set (Simple Mode) output=yes cfargument name

RE: CFFUNCTION and VAR's

2003-08-02 Thread Rich Z
Ah! Thanks much. I've got work to do. Heh. -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Saturday, August 02, 2003 11:59 AM To: CF-Talk Subject: RE: CFFUNCTION and VAR's Crrect, since cfscript is considered a tag of code so to speak. You must use this format