VGA

printtext()

Description

Prints text in a screen.

Syntax

VGA.printtext( x, y, text, trans);

Parameters

x - x coordinate where the text is to be printed
y - y coordinate where the text is to be printed
text - the string to be printed
trans

Returns

none

Example

VGA.printtext(5, 30, "This is a string");//prints the word "This is a string at row 5, column 30 of the screen VGA.printtext(1, 10, "This is a string");//prints the word "This is a string at row 1, column 1 of the screen

See also

  

Share |