The next space-separated item behind EXIT must be either a string, number, variable, or something that evaluates to a number to generate an exit code.
code:
exit '0'
exit 0
exit @ERROR
exit $exitcode
exit val(readvalue('hklm\software',''))

_________________________
There are two types of vessels, submarines and targets.