2 posts
Posted 11 April 2015 - 04:10 PM
Hello, I need your help.
I've written a startup programm but there's always this error. I don't know what to do :(/>
Thanks for your answeres
MeinByte
PS: I'm sorry for my bad English ;)/>
8543 posts
Posted 11 April 2015 - 06:09 PM
Moved to Ask a Pro.
Well, the first thing to do is to post the code.
100 posts
Posted 11 April 2015 - 06:29 PM
Put it on Pastebin, then post the link here.
57 posts
Location
Universe:C:/MilkyWay/Sol/Earth/Europe/Germany
Posted 11 April 2015 - 08:08 PM
Then expected means that you didn't form an if-structure correctly.
Without the code, i only can tell you that you didn't close an if structure
if greeting == "Hello"
print("Hello too!")
end
or used "=" instead of "=="
--#WRONG:
if greeting = "Hello" then
print("Hello too!")
end
--#CORRECT:
if greeting == "Hello" then --#You see the double equalation signs
print("Hello too!")
end
But please post your code so we can help you much better ;)/>
Edited on 11 April 2015 - 06:09 PM
2 posts
Posted 12 April 2015 - 10:34 AM
--#WRONG:
if greeting = "Hello" then
print("Hello too!")
end
--#CORRECT:
if greeting == "Hello" then --#You see the double equalation signs
print("Hello too!")
end
This helps me. Thanks a lot ;)/>