[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: catching divide by zero
- From: Andy Colson <andy@...>
- Date: Sun, 15 Dec 2013 08:52:51 -0600
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