LUA Loading

BlitzMax Forums/BlitzMax Programming/LUA Loading

BLaBZ(Posted 2010) [#1]
I keep receiving this error in attempt to load an LUA script, not exactly sure what it means

Error loading script :
[string "Function LoadGame()..."]:1: '=' expected near 'LoadGame'




Gabriel(Posted 2010) [#2]
It's been ages since I touched any Lua, but Lua is case sensitive so it probably thinks you're trying to declare a variable called Function. Declare it as "function LoadGame()..." instead