>> If Pause=True Then Pause:=False Else Pause:=True;

Just for the sake of contributing something to this thread... the above obviously equals Pause := not Pause;