Jump to ratings and reviews
Rate this book

Lua coding

Rate this book
This is a zero-risk investment. If you are not satisfied with this eBook, you can get back the full refund within 7 days

About This Book
"Lua Programming in 8 hours" is a textbook for high school and college students; it covers all essential Lua language knowledge . You can learn complete primary skills of Lua programming fast and easily .
The textbook includes a lot of practical examples for beginners and includes exercises for the college final exam, the engineer certification exam, and the job interview exam .
"Lua Programming in 8 hours" is a useful textbook for beginners . The straightforward definitions, the plain examples, the elaborate explanations and the neat layout feature this helpful and educative book . You will be impressed by its distinctive and tidy writing style . Reading this book is a great enjoyment!

This book is only suitable for programming beginners, high school students and college students; it is not for the experienced programmers .




Table of Contents

Hour 1
What is Lua Language?
Install Lua
“Hello World” Script
Lua Comment
Identifier
Lua Reserved Keywords
Data Type
Check Data Type
Variable
Nil
Global & Local

Hour 2
String
Escape Character
String Length & Reverse
String Format
#string, find() & sub()
Connect & Repeat
Conversion & Replace
Character & ASII
Arithmetical Operators
Comparison Operators
Logical Operators

Hour 3
Precedence of Operators
While Loop
For Loop
For … In ipairs()
Repeat---Until()
Break Statement
Go To Statement
Nested Loop
If Statement

Hour 4
If-else Statement
Function
Function with Arguments
Return
Uncertain Parameters
Anonymous Function (1)
Anonymous Function (2)
How Many Parameters?
Array
Access Array Elements
Table
Iterate Over Table

Hour 5
Connect Table Elements
Insert Element
Remove & Sort
Table Length
Module
Garbage Collection
MetaTable
_ _index Method
_ _call Method

Hour 6
_ _newindex Method
_ _tostring Method
Other Meta_Methods
File I/O
Write a File
Read a File
Append a File
Read() Parameters
Process Multiple Files
Locate a String

Hour 7
Class
Object
Constructor
Inheritance
Overriding
Coroutine

Hour 8
coroutine.wrap()
Error
Error Processing (1)
Error Processing (2)
pcall()
xpcall()
Debug

Lua Questions & Answers
Questions
Answers

Paperbacks Searching
Lua by Ray Yao
Lua in 8 hours


The paperback edition of this book is displaying in the lower section of this page, please click the book link for purchase.

127 pages, Kindle Edition

Published August 29, 2022

2 people want to read

About the author

Ray Yao

538 books8 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
0 (0%)
4 stars
0 (0%)
3 stars
0 (0%)
2 stars
1 (100%)
1 star
0 (0%)
No one has reviewed this book yet.

Can't find what you're looking for?

Get help and learn more about the design.