Please enable JavaScript to view this site.

A-Shell Reference

DIVIDE'BY'0

NO'DIVIDE'BY'0

These statements determine how an attempt to divide by zero is handled from that point forward in the program. In the default case (NO’DIVIDE’BY’0) such an attempt causes an error #10. After DIVIDE’BY’0 has been executed, such an attempt will return a quotient of 0.