problem ze zmienna

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Pawel

    #1

    problem ze zmienna

    for (int i=0; i<2; i++){
    char znak=A.charAt(i );
    buf=text.getTex t();
    textLCD.setText (String.valueOf (buf)+String.va lueOf(znak));
    String B=text.getText( );
    }
    textLCD.setText (B);

    Co nalezy zrobic zeby zmienna B byla dostepna poza petla??Bo w tej
    chwili kompilator wyrzuca mi blad..:/
Working...