Valid on Windows platforms
The ClearScreen or ClrScr function clears the screen. This function has the format:
ClearScreen() as Boolean
The display function always returns TRUE.
Example: ClearScreen function
This example prints 5 lines, waits 5 seconds, and then clears the screen.
Dim counter as integer
'Print 5 lines
For counter = 1 to 5
Print("Line " + str(counter))
Next
'Wait 5 seconds
Sleep(5000)
'Clear the print screen
ClearScreen()
Print("Screen Cleared")
|
Copyright © 2013 CA.
All rights reserved.
|
|