|
|
This article does not cite any references or sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. (November 2006) |
| This article is an orphan, as few or no other articles link to it. Please introduce links to this page from other articles related to it. (November 2009) |
| This article may need to be wikified to meet Wikipedia's quality standards. Please help by adding relevant internal links, or by improving the article's layout. (November 2009) |
CFScript is an extension of CFML on the ColdFusion platform. CFScript resembles JavaScript. Some ColdFusion developers prefer it since it has less visual and typographical overhead than ordinary CFML; only the actual changes are represented in the code (whereas normal CFML would involve CFSET tags at every line).
All CFScript code must be contained within a CFScript tag pair, as follows:
<cfscript>
xParam = 115;
yParam = 200;
color = 'FFCC99';
</cfscript>
While many ColdFusion tags have exact CFScript analogies, there are quite a few tags that do not. These include both complex tags that would be difficult to duplicate and simple tags that are easy to imitate (using ColdFusion UDF's):
Complex:
<cfquery> <cffile> <cfdirectory>
Simple:
<cfdump> <cfthrow>
| This computer language-related article is a stub. You can help Wikipedia by expanding it. |
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)




