MvEXIT#
To forcibly terminate a running Miva Script program use the <MvEXIT>
tag. If used within a user defined function the entire script terminates not just the function, so use <MvFUNCTIONRETURN>
to terminate a function.
When executed, any open files are closed, any MvLOCKFILE
blocks are exited, all memory is freed. If executed inside an MvCALL
, MvSMTP
, MvPOP
, MvCOMMERCE
tag etc…, then the normal operations at the conclusion of the tag are performed (e.g. closing network connections, deleting temporary files).
Syntax
<MvEXIT>