Under thread tools above your top post use the drop-down box and select 'Solved'.
Type: Posts; User: Zyrion
Under thread tools above your top post use the drop-down box and select 'Solved'.
Initialize your variables to a value before the if-else control statement to make the compiler happy.