ComputerCraft Lua 1-7 » Fundamentals » Pairs and ipairs()

Описание к видео ComputerCraft Lua 1-7 » Fundamentals » Pairs and ipairs()

Prerequisites:
Lesson 1-6 » For Loops -    • ComputerCraft Lua 1-6 » Fundamentals ...  

Next Lesson: User Input & String Manipulation -    • ComputerCraft Lua 1-8 » Fundamentals ...  
Full Playlist:    • ComputerCraft Lua Tutorials  

A Generic For Loop is a way to iterate directly over a table. It's an alternative to the Numeric For Loop I showed you last lesson, and it's a much more effective method.

Relevant Resources
-----------------------------------------------------------------------------------------
Lua Documentation: https://www.lua.org/​
CC:Tweaked Wiki: https://tweaked.cc/

Additional Resources
-----------------------------------------------------------------------------------------
Official Minecraft Wiki: https://minecraft.gamepedia.com/Minec...
Official Minecraft Forums: https://www.minecraftforum.net/​
Latest ComputerCraft Download: https://www.curseforge.com/minecraft/...
CCEmuX Download: https://emux.cc/
Community Discord:   / discord  

Credits and Links
-----------------------------------------------------------------------------------------
Music:
Big Giant Circles - A Rose in a Field (C418 Remix)
-    / biggiantcircles  
Music License: https://biggiantcircles.tumblr.com/po...
Scripted, Recorded and edited by RaiuPlays

00:00 - Iterating Over a Table
01:37​ - 'ipairs()'
02:38​ - 'pairs()'
04:15​ - Order of Elements
05:19 - Manipulating Data
05:58 - Outro

Комментарии

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