Introduction to Lua.
Exercises, examples and other material relating to training module U101. This topic is presented on public courses Learning to program in Lua
, Lua Programming
Related technical and longer articlesWhat makes a good variable name?
|Articles and tips on this subject||updated|
|3724||Learning to Program in Lua - public / open training course / class|
Yesterday was the first day of our public "Learning to progam in Lua" course.
Lua is an open source language, with a very open license indeed which allows it to be incorporated into other products without raising complex onward licensing issues even if the resultant product isn't itself open source. ...
|2310||Learning to write high quality code in Lua|
What a wonderful opportunity this week - to train delegates in Lua programming (and Lua, byte for byte, is perhaps the best value language that I train in) but also to be in on the early stages of a project where it's not just a question of training on the language itself, but also in helping provoke ...
|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 ...
|1842||Lua Course, and the Wiltshire Countryside too|
With courses such as Lua Programming, our delegates come from far and wide - it's very much a niche subject, and that's why we provide facilities that are a little different to most training companies - such as our own hotel facilities.
The wide spread of our delegates also means that we'll often be ...
|1737||Rules, suggestions, considerations for Lua variable names|
Rules for naming variables in Lua ...
* MUST start with a letter or underscore
* which MUST be followed by as many or as few letters, digits, underscores as you like
* Case sensitive (sound bite - "there are 52 letters in the alphabet"
* Variable names must NOT be Lua keywords
Suggestions for naming ...
|1699||If you are learning Lua, here are some more examples|
During some courses, I write few (if any) new examples in front of my delegates, rather relying on the standard ones in the training notes (which I wrote anyway!) and making small changes and adjustments to illustrate how things work. On other courses, though, I write a some new examples from scratch ...
|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
|demo|| Some Lua Basics|
|easys|| Read - calculate - conditionals - output|
|hello|| Some variable types in Lua|
|lop|| Testing to see if a fallback is needed|
|moongreet|| Hello Lua World|
|simples|| Read keyboard - calculate - output result|
|stdo|| Calling standard functions / setting up variables|
|straightforwards|| Read - calculate - loop - output|
Some modules are available for download
as a sample of our material or under an Open Training Notes License
for free download from http://www.training-notes.co.uk
Topics covered in this module
What is Lua.
Hello Lua World.
Where is Lua used?
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. Also
available is the Opentalk
Forum for discussion of technical questions.