Some LUA questions

BlitzMax Forums/BlitzMax Programming/Some LUA questions

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi, i have a few LUA questions. I hope someone can help.

1.) How can i write something from BM into a LUA variable so i can use the variable in LUA?

2.) How can I change the path, LUA is searching for files when i do a loadfile in LUA

3.) Is there a way to find out in which line and what kind of error occured in a LUA script? At the moment my BM programm crashes when there is an error in the LUA script.

Greetings Mirko