Posted 08 May 2013 - 06:31 PM
I know you can print variables using
Help is appreciated!
Thanks! :D/>
print("Stuff: ",variable)
and
print("Stuff: "..variable)
I was wanting to know the difference between the two. When trying to do something like this:
floor = 1
print("Floor: ",floor)
It just prints "Floor: " and doesn't print the variable. But when using this:
floor= 1
print("Floor: "..floor)
It works fine. I don't know if it has to do with it being a number but I just wanted to know the difference so I can use the correct one the first timeHelp is appreciated!
Thanks! :D/>