I'm trying to practice scripting, in this case my returning, and when I try to run the script, it says there is an error in line 16. Something about a string value. Whats wrong?
pie=65 function problem() print="hi" print="hi" print="hi" print="hi" return 100 end print (pie) pie= problem() print (pie)
It's always print(text)
, not print=text
.
pie=65 function problem() print("hi") print("hi") print("hi") print("hi") return 100 end print (pie) pie= problem() print (pie)