On Wed, Dec 22, 2010 at 4:15 PM, Eric <[email protected]> wrote:

> My question is this.  The variable score seems to be out of scope in the
> onclick function.
>

It is - very much so.


> In fact, it will not compile and gives me an error
>

That would be expected.


> but the instructor ran it no problem...and it seemed to me that we had the
> same code.
>
> Any Thoughts?
>

It seems to me you did not have the same code, in that case.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to