SelectArea

Description

Selects a rectangular area of text on the PASSPORT screen in preparation of performing a cut or copy function

Syntax

ret = SelectArea (row1, column1, row2, column2)

Parameters
ret Integer, output
  0 = OK
  Non zero = Error
   
row1 Integer, input
  Beginning row of text selection area
   
column1 Integer, input
  Beginning column of text selection area
   
row2 Integer, input
  Ending row of text selection area
   
column2 Integer, input
  Ending column of text selection area

 

Remarks

This function selects an area of text on the PASSPORT screen. Row 1 column 1 indicates the home position in the upper left corner of the screen. Care must be taken not to position the cursor off the screen.

This is a PASSPORT function.

Example

Sub ZMain()
SelectArea (1, 1, 5, 40)
End Sub

This example selects the first 40 columns of the first 5 rows in preparation for a cut or copy function.