Skip to content

Instantly share code, notes, and snippets.

<cfscript>
myOriginalQuery = queryNew("id,value", "integer,varchar");
for (i = 1; i <= 10; i++) {
queryAddRow(myOriginalQuery);
querySetCell(myOriginalQuery, "id", i, i);
querySetCell(myOriginalQuery, "value", "Value " & i, i);
}
<cfsavecontent variable="ret">
<script nonce='#now()#'>
function fn(){
<!--- commento che verrà ignorato --->
alert('test')
}
fn();
</script>
</cfsavecontent>
<cfscript>
var detailType = "personal"
var addressFieldIdMaps2 = [
"#detailType#_address_1"
, "#detailType#_address_2"
, "#detailType#_address_3"
, "#detailType#_town_city"
, "#detailType#_county"
, "#detailType#_postcode"
, "#detailType#_country"
<cfscript>
local.cfcs = {
clientfactory = "db_drivers1553",
nmfactory = "nm_enty, zonetrasportatori"
};
writeDump(var=local.cfcs,label="Dump di local.cfcs");
</cfscript>
<cfscript>
local.cfcs = {
clientfactory = "db_drivers1091",
nmfactory = "nm_enti,zonetrasportatori"
};
writeDump(local.cfcs)
</cfscript>
<cfscript>
insieme=[];
arrayDelete(insieme,"");
</cfscript>
<cfscript>
insieme="";
prova = arrayAppend(insieme,"valore");
writeDum(prova);
</cfscript>
<cfscript>
insieme="";
prova = arrayAppend(insieme,"valore");
writeDum(prova);
</cfscript>
<cfscript>
insieme="";
prova = arrayAppend(insieme,"valore");
writeDum(prova);
</cfscript>
<cfscript>
insieme="";
prova = arrayAppend(insieme,"valore");
writeDum(prova);
</cfscript>