it would if exit were being called as a function, but in this program it is not. the OP is attempting to use exit in the same way as return is used, and this is incorrect. refer to my previous post...
Type: Posts; User: Elkvis
it would if exit were being called as a function, but in this program it is not. the OP is attempting to use exit in the same way as return is used, and this is incorrect. refer to my previous post...
hint: exit is a function, not a keyword.