Community QBasic

Rebooting the QBasic we all know and love!


Project maintained by Cory Smith

POS

Returns the cursor column position.

Syntax

POS(dummy_argument)

Comments

POS doe snot use the parameter dummy_argument.

Example

FOR i = 1 TO 100
  IF (POS(0) > 50) THEN
    PRINT i
  ELSE
    PRINT i; 'same line
  END IF
NEXT

See Also