C5_CANCEL

 CANCEL*
 Terminate program processing
------------------------------------------------------------------------------
 Syntax

     CANCEL* | QUIT

 Description

     CANCEL and QUIT both terminate the current program, closing all open
     files, and returning control to the operating system.  You can use
     either command from anywhere in a Clipper program system.  A RETURN
     executed at the highest level procedure performs the same action.  Note
     that CANCEL is a compatibility command.  QUIT should be used in its
     place.

 Notes

     .  Return code: When a Clipper program terminates, the return
        code is set to 1 if the process ends with a fatal error.  If the
        process ends normally, the return code is set to 0 or the last
        ERRORLEVEL() set in the program.

 Files   Library is CLIPPER.LIB.

See Also: ERRORLEVEL() QUIT RETURN

 

2 responses to “C5_CANCEL

  1. Pingback: C5 Flow Control | Viva Clipper !

  2. Pingback: C5 Commands | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.