AT&T 6300 Programmer's Manual page 221

Gwbasic by microsoft
Hide thumbs Also See for 6300:
Table of Contents

Advertisement

Syntax
Remarks
Example
CSRLIN
Function
Returns the current line (row) position of the
cursor.
CSRLIN
CSRLIN returns a value in the range 1 to 25.
To return the current column position use the
POS function. (See the POS function in this
chapter.)
10 Y
=
CSRLlN
20 X
=
POS(O)
30 LOCATE 24,1
35 REM PRINT
40 LOCATE Y,X
'Record current line.
'Record current column.
:Print
"HELLO"
HELLO
on last line.
'Restore position to old
line, column.
7-65

Advertisement

Table of Contents
loading

Table of Contents