Tag equivalents in CFScript
Tag |
CFScript equivalent |
---|---|
abort |
|
break. CFScript also has a continue statement that has no equivalent CFML tag. |
|
case |
|
catch |
|
component |
|
continue |
|
Direct assignment of Cookie scope memory-only variables. You cannot use direct assignment to set persistent cookies that are stored on the user system. |
|
default |
|
cfdirectory |
The directory functions DirectoryCreate, DirectoryDelete, DirectoryList, and DirectoryRename. |
writedump |
|
else |
|
elseif |
|
exit |
|
The file functions FileDelete, FileSeek, FileSkipBytes, and FileWriteLine. |
|
finally |
|
function |
|
The Image functions. |
|
if |
|
import Import in cfscript is only equivalent of <cfimport path="">. |
|
include |
|
interface |
|
location |
|
lock |
|
writelog |
|
|
|
createobject, new |
|
writeoutput |
|
param |
|
pageencoding |
|
property |
|
rethrow |
|
return |
|
savecontent |
|
var{{var x =1; }} is equivalent of <cfset var x =1> |
|
switch |
|
thread |
|
throw |
|
trace |
|
transaction |
|
try |