Difference between revisions of "Read"
From ComputerCraft Wiki
m (Moved to CAT:Tutorials.)
|Line 27:||Line 27:|
Revision as of 15:47, 28 November 2012
|Lets you get input of the user.|
|Syntax||read(char to replace userinput with)|
|Prints what the user wrote.|
|Output||Whatever the user wrote.|
|Ask for a Password and lets the user enter it. The letters are hidden by '*'.|
*******Password is correct. Access granted. or Password is incorrect. Access denied.