[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Error catching
- From: Steve Dekorte <steve@...>
- Date: Fri, 26 Jan 2001 14:53:52 -0800
Jakab, Steve wrote:
> ...if an array-out-of-bounds
> access happens, the result is set to nil. Is there any way to have Lua pass
> these results back as an error condition to the calling C code instead
> (without changing the Lua source code)?
The array-out-of-bounds can be handled within lua using the "index" tag.