ClearLine()

( Basic4GL 2.4.7 )

ClearLine - clear the line the cursor is on.

Syntax

ClearLine()

Description

ClearLine() erases only the line that the text cursor is currently on. With a little creative programming, it can be used for single line character dialog and intro text.

Examples

A fake incoming message.

Printr "Incoming Message..."
Printr
Print "Hi" 
Sleep(1000)
Locate 0,2
ClearLine()
Print "I'm the great computer brain." 
Sleep(2000)
Locate 0,2
ClearLine()
Print "How's it going?" 
Sleep(1000)
Locate 0,2

Related Pages

This page has been recommended for cleanup, integration, etc.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution 2.5 License.