Search:

Type: Posts; User: GregBrannon

Search: Search took 0.07 seconds.

  1. Re: Cant seem to get my loop to work after catching an exception.

    Post your updated loop or method - enough to see the changes you made.
  2. Re: Cant seem to get my loop to work after catching an exception.

    You can use the catch{} block to achieve this. Your code indenting is also funky, causing the code to be harder to read:
    do
    {
    // reset the repeat flag
    firstWGood = true;

    try
    ...
  3. Re: Cant seem to get my loop to work after catching an exception.

    If firstWord is true, then !firstWord is false, and the do/while loop will end. The sample run you posted confirmed that.

    Don't question the results, question the logic that provided the results.
Results 1 to 3 of 3