How does EXIT function works

How is the EXIT function used when there need be to return variable?

For e.g:

IF statement1 THEN
EXIT(FALSE);
ELSE
statement2;
EXIT(TRUE);

What does the EXIT(FALSE) and EXIT(TRUE) mean?

Please advise.

Thanks
Liizz

http://www.mibuso.com/forum/viewtopic.php?f=23&t=52962&view=unread#unread