summaryrefslogtreecommitdiff
path: root/swat/scripting/test.ejs
blob: e69df9230f53b8922dc7a94989b3b9eaa53e7114 (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");
    }
}