Condividi tramite


@ ... CLEAR Command

Clears a portion of the main Visual FoxPro window or a user-defined window.

@ nRow1, nColumn1 [CLEAR
CLEAR TO nRow2, nColumn2]

Parameters

  • @ nRow1, nColumn1 CLEAR
    Clears a rectangular area whose upper-left corner begins at nRow1 and nColumn1 and continues to the lower-right corner of the main Visual FoxPro window or a user-defined window.

  • CLEAR TO nRow2, nColumn2
    Clears a rectangular area whose upper-left corner is at nRow1 and nColumn1 and whose lower-right corner is at nRow2 and nColumn2.

Remarks

If you omit CLEAR or CLEAR TO, Visual FoxPro clears nRow1 from nColumn1 to the end of the row.

Example

The following example clears the screen, main Visual FoxPro window, or user-defined window from the second row to the bottom of the window.

@ 2,0 CLEAR

The following example clears a rectangular region. The area from row 10 and column 0 to row 20 and column 20 is cleared.

@ 10,0 CLEAR TO 20,20

See Also

Reference

CLEAR Commands

SET CLEAR Command

_WClear( ) API Library Routine

Other Resources

Commands (Visual FoxPro)