lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi all.

I'm trying to: require "json"

My script works ok from the command line client. But when I try to run the script from my application (which links to the lua.dll) it crashes in json.decode.number on the line:
local nan_value = 0/0

I'm on windows, with lua for windows installed. Without the "require json" my app works fine.

Is there magic I have to do so that's somehow valid? Why doesnt the lua command line crash?

Any hints please?

Thanks for your time,

-Andy