Device 8 Details

Top  Previous  Next

Device 8 is a circular buffer. It has a variety of uses. For example, the following routine displays the number in X, replacing the decimal point with a comma, which is the format used in some European countries. Note that a control-Z (EOF) is returned when reading beyond the last character written, and it is used to detect the end of the number.

 

Click here for example code.