1-- print "Hello, World!
2
3print("Hello, World!")
4
5-- or
6
7x = "Hello, World!"
8print(x)
1print("text"..v) -- "" for strings, '..' to concencate, type name of variable to print variable
1print("Hello world") -- prints a message into the console, which is called a string..
2
3-- IF YOU WANTED TO USE A VARIABLED vv
4
5local x = "Hello!" -- a variable has a value, for this case, a string.
6print(x) -- We still print it in the console, it's that it's a nice, faster way of doing it.
7-- Also helpful if you want to re-use code if it's used a lot in a program you make..