lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


----- Original Message -----
From: <nelson@helikon.com>

| Recently, I picked up some of the Lua related technical documents
| again, and I tried to figure out how Lua can benefit my current
| project. Regarding the article titled "SPE Paper" which is under the
| link: http://www.tecgraf.puc-rio.br/lua/spe.html
|
| I was trying to play with Lua's simple constuctor mechanism, by using
| the example used in the document. Namely,
|
| window1 = Window{ x = 200, y = 300, foreground = "blue" }

This is just an example given if you had already created a windowing system with
a function called Window. This does not exist in the standard library!

There is more sample code at http://lua.swiki.net/6 which may help you.

N