lua-users home
lua-l archive

Search lua-l

This index contains 143,604 documents and 1,774,497 keywords. Last update on 2023-03-08 .

Query: [How to search]

Display: Description: Sort by:

Results:

References: [ lua (Too many documents hit. Ignored) ] [ array: 5396 ] [ indexing: 1373 ]

Total 296 documents matching your query.

171. Re: lists with nil play nice for Lua 5.2 (score: 19)
Author: "Greg Falcon" <veloso@...>
Date: Thu, 9 Aug 2007 11:29:48 -0400
Okay, I'll bite. I'd agree that's it's an unintuitive idiom, but it's not unnatural. This issue is discussed in depth on the wiki at http://lua-users.org/wiki/CountingFromOne. (There's a link on that
172. Re: VM object types (was: TIOBE: Lua in the Top 20) (score: 19)
Author: Mike Pall <mikelu-0707@...>
Date: Fri, 13 Jul 2007 12:19:10 +0200
Hi, Ruby's mutable strings create all sorts of difficulties when one tries to speed it up (e.g. by compiling it). This is a common symptom of Ruby's excentric semantics: it's slow as molasses. And ..
173. Re: unicode support in lua (score: 19)
Author: David Kastrup <dak@...>
Date: Thu, 26 Apr 2007 13:47:02 +0200
The only documentation I have been able to find is in "unitest", and it is very, very sketchy. I quote from it: -- NOTE: find positions are in bytes for all ctypes! -- use ascii.sub to cut found rang
174. Re: Lua is about to become history (score: 19)
Author: ramsdell@... (John D. Ramsdell)
Date: 04 May 2006 18:33:31 -0400
When programming in Lua, I nearly always use one-based array indexing. I think one should always strive to write code that others can maintain, even when there is little chance the code will be used
175. Re: Re[2]: Still cryptic OOP syntax (score: 19)
Author: David Olofson <david@...>
Date: Mon, 31 Jan 2005 07:02:37 +0100
EEL only looks up functions by name when calling through typeless object references. OTOH, that could mean most of the time, depending on your programming style. :-) BTW, I'm working on an enum type
176. Re: Confusive text in Lua doc "Variable Number of Arguments" about "arg" (score: 17)
Author: Philippe Verdy <verdyp@...>
Date: Thu, 9 Sep 2021 13:57:50 +0200
Sorry, I did not know that ";" was accepted as a valid separator between key/value pairs in table constructors. I've never used it, never seen it in any Lua source, and I have missed that point in al
177. Re: Confusive text in Lua doc "Variable Number of Arguments" about "arg" (score: 17)
Author: Xmilia Hermit <xmilia.hermit@...>
Date: Thu, 9 Sep 2021 13:41:04 +0200
Philippe Verdy wrote: Note that that page of documentation uses an usual non-sense notation to describe the content of the local parameter named "arg" (implicitly declared in all functions): arg={5,
178. Re: Lua 5.4.2 (lua_newstate) (score: 17)
Author: Francisco Olarte <folarte@...>
Date: Tue, 10 Nov 2020 11:10:59 +0100
Because memset uses whatever you pass it to fill a CHAR array ( you pass an int because historically many machines did not pass char arguments, they widened it to int because they used a stack positi
179. Re: A tricky way to determine Lua version (updated) (score: 17)
Author: Jonathan Goble <jcgoble3@...>
Date: Thu, 23 Jul 2020 13:47:46 -0400
It's off-topic but I think array-table dualism can be fixed by adding syntax for indexing array part. Parenthesis for example. So for "t = {false, [1] = true}", "t[1]" is true and "t(1)" is false. T
180. Re: A tricky way to determine Lua version (updated) (score: 17)
Author: Martin <dyngeccetor8@...>
Date: Thu, 23 Jul 2020 19:43:39 +0200
On 2020-07-23 7:01 p.m., Philippe Verdy wrote: As well I consider that the documented syntax of table constructors, where explicit keys can be arbitrary expressions whose value is unpredictable, such

Search by Namazu v2.0.21