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