ISYS2157 Lecture Notes - Lecture 11: Infinite Loop, Checkbox, Carriage Return
Document Summary
Event handlers: button pressers, text change. Speeding example: checkbox for construction, input speed limit, button press event. Try catch and if statements check and see if number is reasonable. Textbox: word wrap true, multiline true, read only, no need for vertical scroll bars. Not all variable need to be declared at the top of the program: concatenation joins two strings together, + also does the same thing for concatenation. Control structures: how control of a program/statement is dictated. Loops: allow you to do the same sequence of statements over and over again, vbcrlf. For loop: for n = f to t. Each line is produced by one time through the loop. Do the loop again until x<7 is false and not true. The loop must at some point be false otherwise it"ll be an infinite loop since it is always true. X<7; 2<7 will always be true so it continues through.