Generic For: pairs & ipairs
Last updated:
Iterating over tables with the generic for loop.
Study Control Flow inside Luablox's guided Luau theory path for Roblox developers.
Understand tables as sequence arrays and key-value dictionaries to manage dynamic data sets.
Related pages
- Previous lesson: Numeric For & While Loops
- Next lesson: Defining & Calling Functions
- Browse Luau theory topics
- Practice Luau coding problems
- Review Luablox access options
- Variables & Data Types
- Operators & Expressions
- Strings in Depth
- Conditionals
- Numeric For & While Loops
- Generic For: pairs & ipairs
- Defining & Calling Functions
- Scope & Closures
- Varargs & Multiple Returns
- Arrays (Sequence Tables)
- Dictionaries (Key-Value Tables)
- Metatables & OOP
- The DataModel & Instance Hierarchy
- Client-Server Model
- ModuleScripts & Require
- RBXScriptSignal — Connect & Disconnect
- RemoteEvents & RemoteFunctions
- Type Annotations
- Best Practices & Patterns