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,
Lua Programming
Related technical and longer articles
What makes a good variable name?
Articles and tips on this subject | updated |
4324 | Learning to program - variables and constants Further material from our "learning to program in ...." courses ... an introduction to variables and constants
variable basics
Information - data - needs to be stored in a program between statements. Or rather it needs to be stored in the computer's memory. At the lowest of levels, that's a binary ... | 2014-11-22 |
4271 | Line, block and nested comments - Lua compared to other languages You can comment your Lua program in two ways.
a) using comments that start -- , in which case they run to the end of the line - so that's a line comment
b) starting --[[ , in which case they run through to the next ]] which may be in the same line, or a number of lines later - so that's a block comment
Line ... | 2014-05-06 |
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. ... | 2012-05-12 |
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 ... | 2009-07-30 |
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 ... | 2008-12-26 |
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 ... | 2008-10-16 |
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 ... | 2008-08-05 |
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 ... | 2008-08-05 |
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, ... | 2008-07-03 |
Examples from our training material
demo | Some Lua Basics |
easys | Read - calculate - conditionals - output |
ello | Commenting - line and multiline |
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 |
Background information
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
What is Lua.
Hello Lua World.
Sourcing, versions.
Where is Lua used?
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our
Listing and schedule page.
Well House Consultants specialise in training courses in
Ruby,
Lua,
Python,
Perl,
PHP, and
MySQL. We run
Private Courses throughout the UK (and beyond for longer courses), and
Public Courses 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.