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,
(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
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
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
4 matches
Mail list logo