cfscript tags. The call doesn't have to be in a cfscript block.
There are small differences in loops in the script version vs the tag
version, but (afaik) that's all.
--Ben Doom
daniel kessler wrote:
> huh. so I don't have to surround it with cfscript? How is this
> different from CFFunction, other than by structure.
>
> >It's very much like an ECMA language. The biggest difference (off the
> >top of my head) is that you use CF comparison operators instead of ECMA
> >ones. That is you use "is" or "eq" instead of "==" and so forth.
> >
> >You can call it from a CFSET if you want the results to be put in a
> >variable:
> >
> ><cfset value = function_name(arguments)>
> >
> >If you just want them displayed, you can do something like
> >
> ><cfoutput>
> >#function_name(arguments)#
> ></cfoutput>
> >
> >--Ben Doom
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

