Anonymous user
CSV to HTML translation: Difference between revisions
m
→{{header|Nanoquery}}
Line 3,271:
=={{header|Nanoquery}}==
<lang nanoquery>// a method that converts a csv row into a html table row as a string
def toHtmlRow(
// loop through the values in the current csv row
for
end for
return
end def
// get the name of the csv file then open it
print "filename: "
input
open
// allocate a string to hold the table
// add the column names to the table (#0 returns column names as a record object)
// add all other rows to the table
for
end for
// close the html table
println
=={{header|NetRexx}}==
|