Hi all

I've dug out some old java code i want to port to android.

so far so simple

but im getting a real beginners errors

I got lunar lander SDK sample app and ive added in a variable

   private int pw;

and a function that refers to it

  private void test() {

    pw=0;

    }

i get pw cannot be resolved.

but when i remove the reference to it in the function its no problem.

i can't see how what im doing is any different to the existing
variables and functions.

Background info: im used to text editing java, rather than eclipse IDE/
XML but I'm pretty sure I don't need to define it anywhere other than
in the .java file.





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to