SpyroViper
April 23rd, 2009, 11:50 AM
Hey,
I'm getting an illegal start of type in my boolean. I have gone over it and I cannot for the life of me find what is wrong.
boolean authorIdValid = false;
for (int i = 0; i < authorId.length; i++)
if (authorId [i] >=0 && <=9)
{
authorIdValid = true;
}
else
{
return false;
}
}
Any help would be appreciated :D
I'm getting an illegal start of type in my boolean. I have gone over it and I cannot for the life of me find what is wrong.
boolean authorIdValid = false;
for (int i = 0; i < authorId.length; i++)
if (authorId [i] >=0 && <=9)
{
authorIdValid = true;
}
else
{
return false;
}
}
Any help would be appreciated :D