EZK EndScript call


This call simply allows a script to be exited at the line it is executed.
No other lines are executed after this call.

Example:

<%

|Setting variable a with value 1
a = 1

ezk.output "A = " & a

| Ending script
ezk.endscript

|This should give an error, but it is never executed
c = a / 0

ezk.output "C = " & a

%>

The last lines will never be executed.
EZK.EndScript can be called in a condition statement, or in a function/subrotine.
Same behaviour as response.end used in ASP.