Other Standard Library features.
Exercises, examples and other material relating to training module U112. This topic is presented on public courses Learning to program in Lua
, Lua Programming
, Lua Programming
|Articles and tips on this subject||updated|
|2951||Lots of way of converting 3 letter month abbreviations to numbers|
There are certain programming tasks that sound simple but end up fascinating ... they sound straightforward (and probably are), but it turns out there are lots of ways of doing them and you could spend a lot of time working out which was is best. One of those is converting three letter abbreviations ...
|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 ...
Examples from our training material
|basics|| List all tables and contents|
|dlisting|| Directory listing |
|getos|| What is my host operating system (in Lua)|
|globals|| Global variables via _G|
|lt5l|| convert 3 letter month abbreviation to number|
|mathfuncs|| Maths functions and random number generators|
|ons|| What is in os module?|
|timtimer|| Time / date and timers|
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
Maths functions - trig, log, random, geometric, etc.
Time and date functions.
Environment, Metatable and Chunk-Loading Functions.
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.