Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

help with printing error please it doesn’t work? Describe your problem concisely. [closed]

Asked by 4 years ago
local hi = “hi”
print hi

doesn’t work

Closed as Non-Descriptive by evaera

This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.

Why was this question closed?

2 answers

Log in to vote
0
Answered by
raid6n 2196 Moderation Voter Community Moderator
4 years ago
Edited 4 years ago

Make sure you do the parentheses.

local hi = hi
print(hi)
0
ty ProbablyRiley 0 — 4y
Ad
Log in to vote
1
Answered by 4 years ago

Instead of print hi, try print(hi).

local hi = “hi”
print(hi)