REDO


    REDO
Redo jumps to the top of the loop (similar to Continue), but doesn't re-evalute the test condition again. Redo can also be used inside a Try statement. This is an easy way to get into an infinite loop if you aren't careful.

    ' Open a file. On failure, delete temp file and try again.
    Try
        ' Open a file
        Open "test.txt" For Output As #1

        ' Perhaps out of disk space. Can temp file be deleted?
        Catch FileExists( "data.tmp" )
        ' Delete the temp file
        Kill( "data.tmp" )

        ' Try again
        Redo
    End Try