Table

From Riftui Wiki

Jump to: navigation, search

A table is a variable with multiple values, rather than just one value; however, you can have only one value in a table if you so wish. There are several ways to manipulate tables in the basic globals.

myTable = {}

Examples:

firstTable = {name, class, level}
 
secondTable = {
    -- notice the 4 space tab indent
    -- and the comma after each entry
    name = "Bob",
    class = "Warrior",
    level = 50,
}
Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox