lua
Chromium closes WebSocket with no explanation
I have Chromium 12.0.742.112 (90304) and I\'m trying to set up a simple WebSocket server with it. I receive a handshake request like:[详细]
2023-04-09 09:42 分类:问答Variable number of function arguments Lua 5.1
In my Lua script I\'m trying to create a function with a variable number of arguments. As far as I know it should work like below, but somehow I get an error with Lua 5.1 on the TI-NSpire (global arg[详细]
2023-04-09 07:54 分类:问答backup/restore from-to Gmail? [closed]
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.[详细]
2023-04-07 11:11 分类:问答Knowing if a value can be called
Note that this question is about pure Lua. I do not have access to any module or the C side. Additionally, I can not use the IO, the OS or the debug library.[详细]
2023-04-07 04:50 分类:问答What happens to local variables in this recursive call?
In a complicated code, I found a weird behavior: apparently Lua doesn\'t treat local variables the same as C and Java (I\'m not surprised but I don\'t know HOW it treats them anyway!)[详细]
2023-04-07 04:13 分类:问答"Error: attempt to index local 'self' (a nil value)" in string.split function
Quick facts, I got this function from http://lua-users.org/wiki/SplitJoin at the very bottom, and am attempting to use it in the Corona SDK, though I doubt that\'s important.[详细]
2023-04-07 04:00 分类:问答How do I know if a table is an array?
I\'m developing a simple optimi开发者_StackOverflow社区zed JSON function. Lua uses tables to represent arrays but in JSON I need to recognize between them. The code below is used:[详细]
2023-04-07 03:09 分类:问答memory of a process in Lua
How can I get the meomory of any Process in Lua? Is it possible in Lua? Is C# it is possible but I am not sure.[详细]
2023-04-07 01:54 分类:问答Wow addon failing to work with array
I\'m trying to create a simple addon for world of warcraft which records my kills. I\'ve already got\'n quite far except there is a problem with the writing of a lua array.[详细]
2023-04-06 20:37 分类:问答How is Lua code execution handled when using LuaJava?
I intend to use LuaJava to run scripts in my Java/Android applications. When I run Lua script, is it executed in some another thread?[详细]
2023-04-06 17:56 分类:问答