This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
use return a; You use the backets only when declaring an array (e.g. String a = new String) or working with a specific element in an array (e.g. a = "test" or String s = a). When in doubt, just try compiling it.
Blake Minghelli<br />SCWCD<br /> <br />"I'd put a quote here but I'm a non-conformist"
Joined: Dec 29, 2002
Well, thanks, but I get this errror when using return (a);
..........java:74: incompatible types found : double required: double return(a); ^