i have these IF statement that gives me an error:
Code:
If Senha1.text=Password1 and Senha2.text=Password2 and Senha3.text=Password3 and Senha4.text=Password4 and Senha5.text=Password5 and Senha6.text=Password6 then
	begin
		Result:=True
	else
		MsgBox('Incorrect password!!!', mbCriticalError, MB_OK);
		Senha1.text:=''
		Senha2.text:=''
		Senha3.text:=''
		Senha4.text:=''
		Senha5.text:=''
		Senha6.text:=''
		WizardForm.ActiveControl:=Senha1;
	end
what isn't right in my if?