“cara mencetak variabel di lua” Kode Jawaban

cara mencetak variabel di lua

local var = "Hello World" -- Creates the variable
print(var) -- Prints the variable
Sticky

cara mencetak variabel di lua

-- Ill explain a variable: variables are like smaller versions of code.. Example:

local message = "Hello, this is a message!"
-- Made a smaller version of the string, so you don't have to copy and paste/type it out every time..

print(message) -- Prints a message into the console, which in this case is the variable!
Opal

Jawaban yang mirip dengan “cara mencetak variabel di lua”

Pertanyaan yang mirip dengan “cara mencetak variabel di lua”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya