console.ReadLine
console.ReadLine - get a line of text from the player
|
Table of Contents
|
Syntax
var = console.ReadLine
- var - returned input from player
Description
console.ReadLine gets a line of input from the player. When it is used, the game will pause and allow the player to enter a line of text. When the user presses ENTER, console.ReadLine will return the entered text.
Examples
Example of Use
Dim insultee
console.Initialize
console.WriteLine "What's your name?"
insultee = console.ReadLine
console.WriteLine "You look funny, " & insultee & ", I never liked you."
console.Wait
console.Terminate
Related Pages
Methods
- console.Initialize - wake up the console object
- console.Terminate - kill it.
Tutorials
- Whats Your Name Tutorial - a very insulting tutorial.
Backlinks
These pages link back to this one. You may find them helpful.
| This article is a stub. You can help us improve Brutus2D Wiki Complete by expanding it. |
page_revision: 3, last_edited: 1215221182|%e %b %Y, %H:%M %Z (%O ago)
Discuss