ComputerCraft Lua 1-3 » Fundamentals » Variables
2,661
Published 2021-04-03
Lesson 1-1 » Writing your first program - • ComputerCraft Lua 1-1 » Fundamentals ...
Next Lesson: Conditional Statements - • ComputerCraft Lua 1-4 » Fundamentals ...
Full Playlist: • ComputerCraft Lua Tutorials
This lesson goes over variables; arguably the most important part of programming as they are used to store all of the information used by your programs.
Relevant Resources
-----------------------------------------------------------------------------------------
Lua Documentation: www.lua.org/
CC:Tweaked Wiki: tweaked.cc/
Additional Resources
-----------------------------------------------------------------------------------------
Official Minecraft Wiki: minecraft.gamepedia.com/Minecraft_Wiki
Official Minecraft Forums: www.minecraftforum.net/
Official ComputerCraft Website: www.computercraft.info/
Latest ComputerCraft Download: www.curseforge.com/minecraft/mc-mods/cc-tweaked
CCEmuX Download: emux.cc/
Community Discord: discord.gg/UT6uzNdGqb
Credits and Links
-----------------------------------------------------------------------------------------
Music:
Big Giant Circles - No Party Like a Mojang Party (Ben Briggs Remix) - youtube.com/user/BigGiantCircles
Music License: biggiantcircles.tumblr.com/post/620489806535868416…
Scripted, Recorded and edited by RaiuPlays
00:00 - Declaring and Defining a Variable
01:02 - Numbers and Math
01:47 - Redefining Variables
02:48 - Booleans
03:30 - Strings
04:04 - Concatenate
05:17 - Nil
05:54 - Dynamic Data Types
All Comments (7)
-
I think this series is completely underrated. These videos are so good. Thank you for putting the time in to educate people :)
-
Good video u are helping a lot
-
It’s been a few months since I did some Lua for a game I’m making in Roblox studio and this is such a good refresher on terms and functions within the language and how they all interact. You rock!
-
Thanks for another awesome vid! Really becoming a highlight of my week. I do have a question, though it isn't really related to this episode. I know that programs can be transferred via floppy disks, which I kind of know how to do if I mess with it long enough and use the right curse words, and I know that computers can talk to each other over rednet, which again I can half-ass pull off with enough attempts and an even more refined collection of curse words, but what I cant figure out is if it is possible to transfer programs over rednet. I do love a challenge though. lol
-
wait what about other data types such as floats, doubles, objects, char, array, dictionary, enums, etc
-
is there anyway to export/import code? Like if i were to write out a program in a editor (Sublime for me) can put that into the computers?