textutils.slowPrint

From ComputerCraft Wiki
Jump to: navigation, search


Grid Redstone.png  Function textutils.slowPrint
Prints string text at current cursor position, character-by-character. Number argument rate is optional and is defaulted to 20. The higher the value of rate, the faster text is printed (passing a value of 1 prints one character per second). This function also prints a newline.
Syntax textutils.slowPrint(string text, number rate)
Returns nil
Part of ComputerCraft
API textutils

Examples

Grid paper.png  Example
Prints "Hello, World!" to the screen, character by character, 15 characters per second.
Code
textutils.slowPrint("Hello, World!", 15)