This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Tyl3r684's profile picture

[Lua] [Error] I am very new and can't quite figure this out... (4 lines of code)

Started by Tyl3r684, 11 December 2012 - 09:37 AM
Tyl3r684 #1
Posted 11 December 2012 - 10:37 AM
Can someone help me with this? I think I am an idiot because I cant get this error sorted out, I apologize for my stupidity.

OmegaVest #2
Posted 11 December 2012 - 10:48 AM

name = read()

Should solve whatever you are doing. And, all functions must be called with () at their end.
Doyle3694 #3
Posted 11 December 2012 - 10:53 AM
also,

print("Hello "..x.."how are you doing today?")

You need .. on both sides of the variable ;)/>
Tyl3r684 #4
Posted 11 December 2012 - 11:48 AM

name = read()

Should solve whatever you are doing. And, all functions must be called with () at their end.
also,

print("Hello "..x.."how are you doing today?")

You need .. on both sides of the variable ;)/>

I thank you both!!! It works like a charm, now to extend it., :D/>
AndreWalia #5
Posted 11 December 2012 - 11:53 AM
Always good to see a youngster like you!