Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
POS Function, CSRLIN Function, and LOCATE Statement
◄Summary► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Returns the current column position of the cursor (POS); returns the current
row position of the cursor (CSRLIN); moves the cursor to a specified
position (LOCATE); not available when forms are showing. Use the CurrentX
and CurrentY properties with forms and picture boxes.
See: ◄CurrentX Property► ◄CurrentY Property►
POS(n%)
CSRLIN
LOCATE [row%] [,[column%] [,[cursor%] [,start% [,stop%]]]]
■ n% Any numeric expression; while it passes no information,
required to maintain consistent function syntax
■ row% Number specifying the row and column to which the cursor
column% moves
■ cursor% Specifies whether the cursor is visible:
• 0 = invisible
• 1 = visible
■ start% Integer expressions in the range 0 to 31, inclusive, that
stop% specify the first and last cursor scan lines; changing
the cursor scan lines changes cursor size
See Also
◄SCREEN Statement►