...很乐意接受它作为参数,程序运行的结果可能导致内存core dump(如果你够幸运的话,你可能得到一个访问越界(index-out-of-range)错误)。这样的错误对于任何一个Lua库来说都是不能忍受的。
基于4个网页-相关网页
string index out of range 游戏网页又出现 ; 字符串索引超出范围 ; 串索引超出范围 ; 字符串中指数的范围
Array index out of range 使用越界的数组索引 ; 列阵索引超出范围 ; 数组索引的系列 ; 数组索引超出范围
list index out of range 列表中的指数系列 ; 列表索引超出范围
index out of range 索引超出范围
Why am I receiving "list index out of range" in my code?
为什么我会收到“列表索引超出范围”在我的代码?
Array size control parameter index is out of range.
数组大小控制参数索引超出范围。
The library is not required to check the value of the index. Using an index that is out of range is undefined and usually results in a serious run-time error.
标准库不要求检查索引值,所用索引的下标越界是没有定义的,这样往往会导致严重的运行时错误。
应用推荐