We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi, I have a set of variables whose values should change depending on whether I am running the sketch in Java Mode or Android Mode. My current work around is to declare these variables twice and to comment/uncomment the ones I needn't/need.
Is there a built-in boolean that I could include in my sketch to determine whether I am in Java Mode or Android Mode?
Thanks.
Comments
Even if there isn't a built-in boolean, wouldn't it be easier to just supply your own? That way you only need to make the change in one place, instead of commenting/uncommenting a bunch of different places.
Yes, I thought about it after asking the question, but still wanted to see the answers. Thanks.