CyanPrime
CyanPrime

Reputation: 5193

Why can't I run my lua script?

Okay, so I'm trying to learn Lua. I am getting this error:

'=' expected near '<eof>'

Using this line to run it.

dofile(”.\\test.lua”)

And my script is just print("Hello World!")

How do I run this?

Upvotes: 0

Views: 636

Answers (1)

CyanPrime
CyanPrime

Reputation: 5193

Guess I installed the wrong thing. I downloaded this and now everything works. Thank you all for your help. ^_^ http://code.google.com/p/luaforwindows/downloads/detail?name=LuaForWindows_v5.1.4-40.exe&can=2&q=

Upvotes: 2

Related Questions