SYSSBA

The function

Read syntax diagramSkip visual syntax diagram SYSSBA( row , col )

SYSSBA converts screen row,col to a set buffer address (SBA).

row
specifies the row number counting from the top of the screen.
col
specifies the column number (counting from the left of the screen).
Note: The SYSSBA function queries the terminal model on each invocation and uses this to adjust the SBA calculation to terminal type.

Example

x = SYSSBA(10,20)

This example returns a three byte set buffer address for screen row 10, column 20 into REXX variable x.