Please enable JavaScript to view this site.

A-Shell Reference

Navigation: A-Shell BASIC (ASB) > Statements > Miscellaneous Statements

MiscStatementsASB

Scroll Prev Top Next More

 

 

 

DIVIDE’BY’0

 

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.

 

 

 

STOP

 

STOP

The STOP statement is a legacy holdover from early BASIC.  It simply prints the following message and waits for the user to hit carriage return (CR) to proceed:

Program stop at location counter <location> of <program>

Enter CR to continue: