summaryrefslogtreecommitdiff
path: root/swat2/esptest/include.esp
blob: 5d558d59dcebe0ff26f1d3565378279b8e8739fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<% page_header("columns", "ESP Include Test", "esptest"); %>

including /scripting/test.ejs<p/>
<% include("/scripting/test.ejs"); %>
calling a function from test.ejs ...<p/>
<% showArray("request", request); %>

including /scripting/test.esp<p/>
<% include /scripting/test.esp %>
calling a function from test.esp ...<p/>
<% res = testfn('foo'); %>
result is: @@res

<% page_footer(); %>