'Missing return Statement' error - what am I doing wrong?
Here is a very simple function I am writing. I cannot save it due to a 'missing return statement' error. There is a return statement there. What is still missing?
string mjw.Secs2Time(int Secs)
{
if(Secs < 10)
{
return "TEST";
}
}
I have been working on this DB for about a week now and and getting a bit fed up with my lack of progress at learning it. Grr!!