Thanks for the reply! I did try it out and it worked, I was just curious as to the reasoning behind it.
Actually, as I'm looking through some of the coding examples, I like the way it's laid out like that, with the variables set at the top, and then being assigned variables later on.
And yeah, I kinda know what's going on, I studied COBOL years ago and was pretty good at it, and I do some scripting in a java-like language for a game I play, so I have some background in coding. Now trying to learn something I can put to practical use!