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

Subscribers:
472
Published on ● Video Link: https://www.youtube.com/watch?v=lcW0hByMxNo



Minecraft
Game:
Minecraft (2011)
Duration: 7:16
1,169 views
34


Prerequisites:
Lesson 1-6 » For Loops - https://youtu.be/hTvv-rdDURI

Next Lesson: User Input & String Manipulation - https://youtu.be/XyQQTbN8OIM
Full Playlist: https://www.youtube.com/playlist?list=PLRjvM3uAyfQCUUPICtNIv98ZkpTVl7Kaz

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/Minecraft_Wiki
Official Minecraft Forums: https://www.minecraftforum.net/​
Latest ComputerCraft Download: https://www.curseforge.com/minecraft/mc-mods/cc-tweaked
CCEmuX Download: https://emux.cc/
Community Discord: https://discord.gg/UT6uzNdGqb

Credits and Links
-----------------------------------------------------------------------------------------
Music:
Big Giant Circles - A Rose in a Field (C418 Remix)
- https://www.youtube.com/user/BigGiantCircles/featured
Music License: https://biggiantcircles.tumblr.com/post/620489806535868416/licensing-my-music-for-content-creators
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







Tags:
Raiu
RaiuPlays
Raiu Plays
Minecraft
ComputerCraft
Tutorials
modded
Walkthrough
Lua
Programming



Other Statistics

Minecraft Statistics For Raiu the Eevee

There are 28,609 views in 16 videos for Minecraft. His channel currently has around 2 hours worth of content for Minecraft, roughly 31.80% of the content that Raiu the Eevee has uploaded to YouTube.