
376
Syntax:
POS(0)
Description:
POS returns the current column number of the cursor in the current screen 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.
• In the BHT-7000/BHT-7500, the range of the column numbers does not differ
between the normal- and double-width characters.
• For the current row number of the cursor, refer to the
CSRLIN function.
Reference:
POSition I/O function
POS
Returns the current column number of the cursor.
Screen mode
BHT-
3000
BHT-
4000
BHT-
5000
BHT-6000/
BHT-6500
BHT-
7000
BHT-
7500
Single-byte
ANK mode
Standard-size font 1 to 17 1 to 27 1 to 22 1 to 17 1 to 22 1 to 27
Small-size font –––1 to 17 1 to 22 1 to 27
Two-byte
Kanji mode
Standard-size font 1 to 13 1 to 21 1 to 17 1 to 13 1 to 17 1 to 21
Small-size font –––1 to 17 1 to 22 1 to 27
Condensed two-
byte Kanji mode
– 1 to 27 1 to 22 –––
Statements:
LOCATE and SCREEN
Functions:
CSRLIN
Komentarze do niniejszej Instrukcji