home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 24
/
CD_ASCQ_24_0995.iso
/
vrac
/
homonlib.zip
/
WIPEAREA.BAS
< prev
Wrap
BASIC Source File
|
1995-04-13
|
650b
|
21 lines
DEFINT A-Z
DECLARE SUB WipeArea (row1, col1, row2, col2)
SUB WipeArea (row1, col1, row2, col2)
'****************************************************************************
'Clears an area of the screen.
'****************************************************************************
wide = col2 - col1 + 1
sp$ = SPACE$(wide) 'Only call the SPACE$() function once.
FOR x = row1 TO row2 'Fill an area of the screen with spaces
LOCATE x, col1 'and relocate the cursor back at the top
PRINT sp$; 'left corner of the area.
NEXT x
LOCATE row1, col1
END SUB