Clearing a Portion of the Screen in BASIC Andy Hopkins PC Professional Users Group Wilmington, Deleware Here's a little routine that will clear a portion of the screen. Just set R1% for the top line, C1% for the left column, R2% as the bottom line and C2% as the right column. The area outlined by this box will instantly clear just like the CLS command causes the entire screen to clear. (Note: CLEAR is a BASIC reserved word, you can't use it!!) 10 REM ** data is machine language routine for CLEER%(r1%,c1%,r2%,c2%) ** 20 DATA &H8B55, &hB8EC, &H0600, &H07B7, &H768B, &H8A0C, &H8b2C 30 DATA &HA76, &HC8A, &H768B, &H8A08, &H8B34, &H676, &H148A 40 DATA &HCDFE, &HC9FE, &HCEFE, &HCAFE, &H10CD, &HCA5D, &H8, &h0 50 RESTORE 20:DIM CLEER%(21):FOR 1%=0 TO 21:READ CLEER%(1%):NEXT To use, just insert the following line in your program after setting four variables: DEF SEG: CLEER=VARPTR(CLEER%(0)): CALL CLEER(R1%,C1%,R2%,C2%)