Useful Links
1. Introduction to Lua
2. Lua Language Fundamentals
3. Control Flow Structures
4. Functions
5. Tables: Lua's Primary Data Structure
6. Metatables and Metamethods
7. Modules and Package Management
8. Error Handling and Debugging
9. Advanced Language Features
10. Object-Oriented Programming Patterns
11. Standard Library Overview
12. C API Integration
13. Lua Ecosystem and Tools
  1. Computer Science
  2. Programming
  3. By Language

Lua Programming

1. Introduction to Lua
2. Lua Language Fundamentals
3. Control Flow Structures
4. Functions
5. Tables: Lua's Primary Data Structure
6. Metatables and Metamethods
7. Modules and Package Management
8. Error Handling and Debugging
9. Advanced Language Features
10. Object-Oriented Programming Patterns
11. Standard Library Overview
12. C API Integration
13. Lua Ecosystem and Tools
  1. Tables: Lua's Primary Data Structure
    1. Table Fundamentals
      1. Key-Value Pair Structure
        1. Dynamic Sizing
          1. Heterogeneous Keys and Values
            1. Table Identity and References
            2. Tables as Arrays
              1. Sequential Integer Indexing
                1. Array-Like Usage Patterns
                  1. The Length Operator with Arrays
                    1. Sparse Arrays and Gaps
                    2. Tables as Dictionaries
                      1. String Keys
                        1. Mixed Key Types
                          1. Dot Notation vs Bracket Notation
                            1. Key Existence Testing
                            2. Table Construction
                              1. Empty Table Creation
                                1. List-Style Initialization
                                  1. Record-Style Initialization
                                    1. Mixed Initialization Patterns
                                    2. Table Iteration
                                      1. Pairs Function
                                        1. Iterating All Key-Value Pairs
                                          1. Iteration Order
                                          2. Ipairs Function
                                            1. Iterating Sequential Elements
                                              1. Behavior with Gaps
                                              2. Numeric For Loops with Tables
                                                1. Custom Iteration Patterns
                                                2. Table Library Functions
                                                  1. Table Insert
                                                    1. Inserting at End
                                                      1. Inserting at Position
                                                      2. Table Remove
                                                        1. Removing from End
                                                          1. Removing from Position
                                                          2. Table Sort
                                                            1. Default Sorting
                                                              1. Custom Comparison Functions
                                                              2. Table Concat
                                                                1. String Concatenation
                                                                  1. Separator and Range Options

                                                              Previous

                                                              4. Functions

                                                              Go to top

                                                              Next

                                                              6. Metatables and Metamethods

                                                              © 2025 Useful Links. All rights reserved.

                                                              About•Bluesky•X.com