Partager via


RETRY Command

Executes the last command from the memory stack and then returns control to the calling program. RETRY is similar to RETURN, except RETURN executes the next line in the calling program.

RETRY

Remarks

RETRY is useful in error-handling routines. It is frequently used to execute a command until a record- or file-locking function succeeds in locking the record or file. You can use SET REPROCESS to control retries of a record- or file-locking function. SET REPROCESS is preferable in most network situations.

See Also

Reference

ON ERROR Command

RETURN Command

SET REPROCESS Command

Other Resources

Commands (Visual FoxPro)