Kristopher Micinski wrote:
>
> Vincent wrote:
> > I created a global variable int N and a boolean FLAG
> >
> > and use a method to initiate
> >
> > void function() {
> > N = 0;
> > FLAG_COMMAND = true;
> > mService.write(command((byte) N));
> > }
>
'FLAG' or 'FLAG_COMMAND'?
Precision is the heart of effective programming.
> ... [snip] ...
>
> P.s., and those aren't global variables, they're just instance
> variables, I'm assuming..
>
Right, since Java doesn't have global variables.
Precision is the heart of effective programming.
--
Lew
--
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