Acorn Computers BBC Micro Model B w/8271 — Acorn BBC Micro Model B w/8271 User Guide Manual PDF (EN)

198 COUNT Purpose COUNT counts all the characters printed using PRINT , whether to screen, printer or RS423 output channel. On the other hand POS returns the current position of the actual text cursor on the screen. Examples 290 A=COUNT 75 fred=COUNT PRINT COUNT Description A function returning the number of characters printed since the last new line. COUNT is set to zero if the output stream is changed. Syntax = COUNT POS Associated keywords 5 REM to print a row of 16 * signs 7 REM this is not the easiest way! 10 X=16 20 REPEAT PRINT "*"; 30 UNTIL COUNT=X Demonstration program