Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide To Clipper - <b>set procedure</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SET PROCEDURE


Syntax:     SET PROCEDURE TO [<file>]

Purpose:    To compile all procedures and user-defined functions within
            the specified file into the current object file.

Argument:   <file> is the name of the procedure file that must be
            specified without an extension.  However, the extension of
            the procedure file on disk must be (.prg).

Usage:      A procedure file may contain any number of procedures or
            user-defined functions.  When a SET PROCEDURE TO command is
            encountered, Clipper compiles the procedures and
            user-defined functions in the file.  Essentially, a
            procedure file in Clipper operates much as an include
            directive does in other compiled environments.

            CLOSE PROCEDURE and SET PROCEDURE TO with no argument are
            both ignored when encountered.

Library:    CLIPPER.LIB


----------------------------------- Example --------------------------------

   SET PROCEDURE TO Strlib
   SET PROCEDURE TO Winlib
   SET PROCEDURE TO Scrlib
   SET PROCEDURE TO Appslib

   DO Main

   RETURN


See Also: DO FUNCTION PROCEDURE RETURN

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson