Exercises, examples and other material relating to training module U118. This topic is presented on public courses Learning to program in Lua
, Lua Programming
, Lua Programming
|Articles and tips on this subject||updated|
|2319||Graphics in Lua - an example using the gd library|
In answer to the question "how would you generate graphics from Lua?" ... I would (personally) look at a binding to the gd library - http://luaforge.net/projects/lua-gd/ - as this is an excellent library, under the MIT license so there's no issue with ongoing licensing being different to Lua's.
|1111||Training in Lua|
I'm always keeping my ears and eyes open for up and coming languages, and earlier this week the subject of lua came up. Lua is a procedural programming language, written as long ago as 1993, which has gained a degree of popularity of late. It's written in a subset of ANSI C and C++ to give it maximum ...
|1847||Lua - IAQ (Infrequently Answered Questions)|
Here are a handful of "one line" answers from the end of the Lua Course I was running at the end of last week
• Command line parameters in Lua are available to the program in an indexed table called arg. (Sample Program)
• Functions in Lua can look at the number and type of parameters they're ...
|1695||Lua Course - here is the index|
If you want to look something up in a book, you'll probably use the index. And so it is in Lua that if you want to look something up in a table (the collection structure in Lua), you'll use an index too.
We have just announced our Public Lua Course - it's a natural for us, as we specialise in niche, ...
Examples from our training material
|envelope|| Command Line parameters in Lua|
|lugra|| Using the gd module and library|
Some modules are available for download
as a sample of our material or under an Open Training Notes License
for free download from [here]
Topics covered in this module
Books, Web Sites.
The Lua Wiki.
Mailing lists and Forums.
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule
Well House Consultants specialise in training courses in
. We run
throughout the UK (and beyond for longer courses), and
at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if you live in a different
country or continent to us
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre.