The exit keyword terminates a script immediately.
A message will be displayed showing the line where the exit occurred.
The exit terminates execution immediately even if it is called in a
int i = 10;
# Exit out
# Wont get to this statement.
disp("Wont get here...");
The output from the above example is:
** MESSAGE from 'Sample.psc'
on Line 6 - Exited...