Difference between revisions of "VDU 12"

From BeebWiki
Jump to: navigation, search
m (1 revision)
m (Description)
Line 16: Line 16:
 
== Description ==
 
== Description ==
  
This code clears the text area of the screen and moves the text cursor to the top left. The text window is cleared to the "Text background colour" which is normally black. The [[BASIC]] statement [[CLS]] does a VDU 12.
+
This code clears the text area of the screen and moves the text cursor to the top left. The text window is cleared to the "Text background colour" which is normally black. The [[BBC BASIC|BASIC]] statement [[CLS]] does a VDU 12.
  
 
[[Category:VDU commands]]
 
[[Category:VDU commands]]

Revision as of 21:42, 8 March 2015

Clear text area.

VDU 12
Syntax VDU 12
Keyboard equivalent CTRL L
Description Clears the text area of the screen.

Description

This code clears the text area of the screen and moves the text cursor to the top left. The text window is cleared to the "Text background colour" which is normally black. The BASIC statement CLS does a VDU 12.