[Kde-devel-es] Me estoy volviendo locooooo!

Jaime Robles kde-devel-es@mail.kde.org
Sun, 23 Feb 2003 13:14:45 +0100


=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Buenos d=EDas!
Sigo peg=E1ndome con KLog... y estoy MUY cerca de una release... pero me he=
=20
encontrado con un bug que no se solucionar :-(
Se trata de un array de booleanos que sus primeros 52 valores (son 341)=20
cambian solos!!!

Lo creo as=ED...=20

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
AwardDXCC::AwardDXCC(){
  i =3D 0;
  j =3D 0;
  k =3D 0;
  for (i =3D 0; i <=3D  ENTITIES; i++){
    dxccW[i] =3D false;
    cout <<  QString::number(i);
    dxccC[i] =3D false;   =20
    for (j =3D 0; j <=3D  BANDS; j++){
        dxccb[i][j] =3D -1;
    };
  };

  for (i =3D 0; i <=3D  ENTITIES; i++){
      for (k =3D 0; k <=3D  MODES; k++){
        dxccm[i][k] =3D -1;

    };
  };

// TEST - TEST - TEST - TEST - TEST -=20
  for (i =3D 0; i <=3D ENTITIES; i++){
    if (dxccW[i])
      cout << QString::number(i) << " - TRUE" << endl;
    else
        cout << QString::number(i) << " - FALSE" << endl;
  }
};
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
Pues no os lo vais a creer...
Porque cuando ejecuto el m=E9todo... se imprime
TRUE hasta la la "i" 51 (inclu=EDda) y desde la 52 ya es FALSE (como debe=20
ser).... evidentemente deben ser todas FALSE pero no... :-?

Esto es una LoKuRa!!!! %-)

=BFAlquien me puede dar una pista por favor???


=2D --=20
Un saludo,
	Jaime Robles
	jaime@kde.org
	Coordinador KDE-es - KDE Spanish Translation Team
	http://www.kde.org/es  - http://es.i18n.kde.org
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+WLs4ER46oL+8yYURAlHAAJ9Ggk5WxBqqXlI+1K4dJMDUZyzb2QCfZBEJ
KJXGmkgWN4LTGYH9esiY1e0=3D
=3D5rL2
=2D----END PGP SIGNATURE-----