This page shows samples of how my DumpVar function for ColdFusion works.
You can Download the function at the bottom of the page.

This function will allow you to use the CFDUMP command from within CFSCRIPT.

 
Download DumpVar() function:


<!--- ============ DUMPVAR() - DUMPS A VARIABLE FOR DEBUGGING USE IN A CFSCRIPT ============ --->
<CFFUNCTION name="DumpVar" returnType="any" hint="Allows you to use the CFDUMP command from within CFSCRIPT.">
<CFARGUMENT name="tmpVar" type="any" required="YES">
<!---
	###################################################
	## Author: George Jaros                          ##
	## Script Name: ColdFusion DumpVar Function      ##
	## Copyright 2006 George Jaros & Web 2 Market    ##
	## www.georgejaros.com  www.web2market.com       ##
	## This code may be replicated as long as        ##
	## this header statement is included.  The       ##
	## Instructions below may be removed.            ##
	###################################################
--->


	<CFDUMP var="#tmpVar#"><hr>
</CFFUNCTION>
<!--- ============ END DUMPVAR() ============ --->


eXTReMe Tracker