Close, but the first column on the screen is #0. Your approach clears to the end of the line for each row processed.
You can also use @(-3), which clears from current cursor position to end of screen. Tip: the @() function is quite expensive to evaluate - evaluate it once (outside the loop) rather than for every iteration. Similarly, the CRT statement is expensive to evaluate - minimize these where possible. For example: CLEOL = @(-4) ; * clear to end of line String = "" ; * characters to clear portion of screen For row = FirstRow To LastRow String := @(0,row) : CLEOL ; * clear to end of row Next Row CRT String ; * this statement actually effects the clearing ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
