function CheckPass(pass: string): Boolean; const true_pass = 'mypassword123'; begin Result := False; if pass = true_pass then Result := True; end;