I have the following block of code:
while (true)
{
ch = GetChar();
if (ch = "]")
{
ch = GetChar();
if (ch = "'") break;
}
else if (ch = 0)
{
return TKERROR;
}
}
On the line if (ch = "'") break;
I get an invalid context error where it should be breaking out of the while loop.
'break' has limited use at the moment. It's context based and doesn't weave itself backwards to find the correct context yet. It is on my 'get back to it' list. Which is the list I have when something gets frustrating ;)
Paul.