59

Syntax Summary
POS (see Chapters 9 & 12)
Use These function return the current cursor position in characters and lines. (See
also VPOS(
Syntax
POS[)[I/)stream-number))
POSITION (see Chapter 13)
Use
POSITION moves to a new position in a Random or Keyed file.
Syntax POSITION [I/)stream-number [,) position if,) LOCK lock-type)
where position is: NEXT
or: AT record-number
or: AT position-string
or: KEY key-vafue if,) INDEX index-number) or: INDEX index-number
where key-value is an expression, giving a value compatible with the index’s key type. index-number is an integer-expression, giving a value in the range 1.20. position-string is a string-expression, giving a value once returned by POSITIONS.

POSITION$ (see Chapter 13)
Use POSITIONS isa function which returns a string which unambiguously specifies
the current position.
Syntax
POSITIONSI[I/)stream-number)
PRINT (see Chapter 11)
Use
PRINT outputs numbers and strings.
Syntax PRINT [I/stream-number[,II [print-item)...
where
the[,) following the stream-number is required if the first print-item is an expression.
each print-item may be: expression
or separator
or print-command— see Print Commands boo or print-function— see Print Functions box or USING string-expression;
provided that no expression immediately follows another.
separator is , or
BASIC 2 PIus: User Guide & Quick Reference 59

59