
Chapter 15. Function Reference
376
Syntax:
POS(0)
Description:
POS
returns the current column number of the cursor in the current display mode
selected by a
SCREEN
statement, as an integer.
• Even if the cursor is invisible (by a
LOCATE
statement), the
POS
function oper-
ates.
• If the maximum value in the current screen mode is returned, it means that the
cursor stays outside of the rightmost column.
• (0) is a dummy parameter that can have any value or expression, but generally it
is 0.
• The range of the column numbers does not differ between the regular-size and
double-width characters.
• For the current row number of the cursor, refer to the
Reference:
POSition
I/O function
POS
Returns the current column number of the cursor.
Screen mode
Font size
Column number
Single-byte ANK mode
Standard-size
1 to 17
Two-byte Kanji mode
Standard-size
1 to 26
Small-size
1 to 34
Statements:
LOCATE
and
SCREEN
Functions:
CSRLIN
Summary of Contents for BHT-BASIC 100 SERIES
Page 1: ......
Page 161: ...153 Chapter 10 Sleep Function CONTENTS 10 1 Sleep Function 154...
Page 163: ...155 Chapter 11 Resume Function CONTENTS 11 1 Resume Function 156...
Page 173: ...165 Chapter 13 Backlight Function CONTENTS 13 1 Backlight Function 166...
Page 249: ...241 Example CLOSE IF kyIn Y THEN KILL Master Dat END IF Reference Statements CLFILE...