summaryrefslogtreecommitdiffstats
path: root/swat.obsolete/scripting/test.ejs
blob: 8e7047f51c3ecf05a01191348b8b793fb1171905 (plain)
1
2
3
4
5
6
7
8
9
10

/*
	some test ejs code 
*/
function showArray(name, array) {
    write("<h3>Array: " + name + "</h3>\n");
    for (v in array) {
          write(name + "[" + v + "]=" + array[v] + "<br/>\n");
    }
}