Q-SYS Control QuickStarts: Tables, Arrays, and the Loops; Oh My! (Part 2 of 3)

Описание к видео Q-SYS Control QuickStarts: Tables, Arrays, and the Loops; Oh My! (Part 2 of 3)

In this episode, we will examine the three relevant forms of the "for" loop when working with Lua arrays/tables. The ipairs loop is purpose built for use with arrays. The pairs loop will traverse any table.

Table of Contents
00:00 - Intro
00:47 - The Numeric For Loop
03:14 - ipairs: The Generic For Loop for arrays
05:54 - pairs: The Generic For Loop for tables
07:30 - Application: ipairs applied to an array of controls
08:40 - Application: pairs applied to a table
12:09 - Application: nesting pairs to traverse tables within tables
15:15 - Summary

Комментарии

Информация по комментариям в разработке