Originally Posted by
Adak
Every time you find an 's', you need to reset a variable.
like this:
Code:
is_s_count = FALSE;
}
is_s_count = FALSE;
my god, I never thought this thread would last this long. Probably never broke out
the pen & paper like I originally suggested.
And I still don't see that 3rd if() to test if both are "i" and "s" were set. I have the
working solution for this, but I require some thought and effort by the OP.
Adak, can I IM you my code? I tested it and it seems to work fine. I'm not sure if it meets
the "state machine" implementation, that may/may not be required.