Wednesday- Arrays Are ...... How Should I Say This?
An array of pins
Today we learned about a new keyword known as array, an array is a data structure that can store more than one variable, where as a variable (var) can only store one variable at a time. An array will allow me to hold many variable in one location, therefore it will make my life much more easier. These arrays have made my assignment #12 look much more sophisticated when it is run. This also makes most my programs much more efficient and easy to use, as we learn more and more about Turing I start to realize how hard this language must have been to make.
The amount of effort that was put into making this language is utterly mind boggling. The only thing that is bothering my at the moment is, how can I output all the variables stored in the array with a put statement. If I find out how to do this I will finish the modified version of assignment #12.
No comments:
Post a Comment