<<

Contents

Search

>>

 

REMOVE_PRINT

 

 

Function

 

 

Syntax:

REMOVE_PRINT(<Row>,<Column>[,<Handle>])

 

<Row>

= <NUM-EXPRESSION>

<Column>

= <NUM-EXPRESSION>

<Handle>

= <NUM-EXPRESSION>

 

 

Meaning:

Removes a text from the screen which has been printed with CURSOR(<Row>,<Column>) and PRINT.

 

If <Row> <> 0  and <Column> <> 0, only the text on this position is removed. If <Row> = 0 and <Column> = 0, all texts are deleted.

 

<Handle> specifies in which window the images are deleted. <Handle> can contain the window depth or the handle of a split window or a WINDOWCALL window. If the parameter <Handle> is missing, the texts are deleted in the current window.

 

REMOVE_PRINT returns the result 0 if no text has been found, otherwise the number of the removed texts.

 

Parameter:

Row

Defines the row position of the picture. If <Row> = 0, all texts whose column corresponds to <Column> are deleted.

 

Column

Defines the column position of the image. If <Column> = 0, all texts whose row corresponds to <Row> are deleted.

 

Handle

Window depth or handle of a split window or handle of a WINDOWCALL Window

 

 

Sample:

CURSOR(10,2.5)

PRINT "Hello";

...

 

H% = REMOVE_PRINT(10,2.5)

IF H% <> 0

THEN … Error …

ENDIF

 

See also:

CURSOR

PRINT

PRINT_CENTERED