Skip to content

Instantly share code, notes, and snippets.

@adamcameron
Created October 3, 2012 21:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamcameron/3830058 to your computer and use it in GitHub Desktop.
Save adamcameron/3830058 to your computer and use it in GitHub Desktop.
Demonstrating what I think you're talking about..?
<cffunction name="f">
<cfset var q = false>
<cfquery name="q" datasource="bugNotifier">
SELECT *
FROM user
</cfquery>
<cfreturn q>
</cffunction>
<cfdump var="#f()#">
<cfoutput>
#f().recordCount#
</cfoutput>
@robgcf
Copy link

robgcf commented Oct 3, 2012

Kinda... but if that cffunction is in a CFC and you do it like what do you do?

@robgcf
Copy link

robgcf commented Oct 3, 2012

dammit this thing just stripped my code out of the comment

@robgcf
Copy link

robgcf commented Oct 3, 2012

<cfset result = objGW.funcName(params)>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment