cfset sets a variable to the value you specify.
cfset foo = bar
cfparam sets a variable to the default variable if it has not already been
specified. It is especially useful for options form fields on an 'action'
page.
cfset foo = bar
cfparam name="foo" default="kabob"
in the above example the variable 'foo' would have the value of 'bar'
jon
----- Original Message -----
From: "Eric Fickes" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, December 15, 2000 6:31 PM
Subject: CFPARAM or CFSET
> Could anybody school me in the difference between using CFPARAM and CFSET.
> I see CFPARAM all the time, but the little documentation that I've seen
> about CFPARAM makes it sound just like CFSET.
>
> E
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists