Don't get all hung up with this if it is confusing. I mention it only to solidify the fact that there are several ways to write code. Both sets of codes run the same and the first one I gave you is far easier to understand for beginning programmers to comprehend. Not to belabor the point, but this nonsense code should make sense to you. A few more hints and rules that RB uses.
Some computer languages allow the programmer to write code on several different lines.
With RB, you have to place all of your code for a particular operation or message on ONE line. Some computer languages insist that words be capitalized in some places and other rules regarding case. RB, thank goodness, does not care. TItle, TITLe, titlE, etc. Just to see if you are paying attention up to this point.