label A disp "Your calculator is broken" Goto AThat would be a minor prank I would play on friend's when they weren't near their calculator, it would basically endlessly loop. Now I get to learn how to make use of loops other than for pranking purposes. Some of the data storage methods reminded me of the Linux Vi which I hated using since graphical interfaces are common on almost all distributions. I remember having to | to append things to files and the > to create new files. Although a lot has escaped me, some of this chapter brought back some memories of using the Vi editor. After finishing Chapter 5 and the Dice Simulator, I now appreciate the ease of Visual Studio. Instead of having to type everything through notepad and run it to see if it works, the errors at the bottom make it easier to find where to correct the mistake.
Wednesday, February 8, 2012
Chapter 5 Listboxes, Loops, and Storage
This chapter is where I am starting to get a hang of Visual Studio. Listboxes were fun last chapter but now loops are introduced, I remember making simple loops on friend's TI-84 calculators. They didn't do anything other than repeat endlessly since the code was.
Subscribe to:
Post Comments (Atom)
Ha, that would be a funny prank. I do like how there is an error indicator because I am not very good at programming as much as I do enjoy it.
ReplyDelete