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 ... | 2010-09-10 |
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 ... | 2008-11-02 |
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 |
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
Maths functions - trig, log, random, geometric, etc.
Time and date functions.
CPU time.
Environment, Metatable and Chunk-Loading Functions.
Vararg-Related Functions
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.