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

294 POS position Purpose This function finds out how far across the screen the flashing cursor is. The left hand side of the screen is position 0 and the right hand side is position 19, 39 or 79 depending on the MODE that has been selected. Examples 1005 X=POS 320 distance=POS Description A function returning the horizontal position of the cursor in the current text window. Syntax = POS Associated keywords COUNT , TAB , VPOS To print spaces on the screen up to a certain horizontal position – for example to align columns. Demonstration program 100 column=12 110 REPEAT PRINT""; 120 UNTIL POS=column