![]() ![]() Now you might have noticed that we put Jack under double quotes(this " " thingy). Print("pneumonoultramicroscopicsilicovolcanoconiosis") -the type of code that will drive you crazy Print(longName) - Very clean and easy to read and understand Variables make it easy to reference values, so instead of typing out a loooong name again and again, you can assign it to a variable: local longName = "pneumonoultramicroscopicsilicovolcanoconiosis" -hmm thts a pretty looong word! Here you can see that item is used to reference Bread, friend is used to reference Jack and so on. It stores a value, making it easier to access later in your game.Įg: -Ignore the local, we'll come to that later. In malls, you probably use a shopping cart to carry items and why do you do that? Because it is a much more efficient and easy to carry multiple items rather than individually carrying each of them. ![]() In simple terms, a variable is something that can store something.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |