Please, indent the code.
In reply to Re: Uninitialized Value by choroba in thread Uninitialized Value by PilotinControl