I love cfscript, given it all goes to the same place in the compiler. cfscript is just prettier. and sam,ple of comments from teh current page i am working on.
//Begin File Blender Code
arrFileContents = listtoarray(varFileContents, chr(10));
x = 0;
xMax = arraylen(arrFileContents);
//Add milk and eggs prepare to bake the query cake
do {
x = x + 1;
if(x eq 1){
//pore cake batter for header here
qryFileContent = queryNew(replacenocase(arrFileContents[x],"|",",","ALL"));
} else {
//add the icing
queryAddrow(qryFileContent);
qryRow = listtoarray(arrFileContents[x],"|");
xx =0;
xxMax = arraylen(qryRow);
do {
xx= xx + 1;
//add pretty data flowers
varCurrentCol = listgetat(replacenocase(arrFileContents[1],"|",",","ALL"),xx);
QuerySetCell(qryFileContent, varCurrentCol, qryRow[xx]);
}
while (xx LT xxmax);
}
}
while (x LT xMax); |