C5_SET PROCEDURE

SET PROCEDURE*
 Compile procedures and functions into the current object (.OBJ) file
------------------------------------------------------------------------------
 Syntax

     SET PROCEDURE TO [<idProgramFile>[.<ext>]]

 Arguments

     TO <idProgramFile> is the name of the procedure file to compile into
     the current object file.  It can optionally include a path and/or drive
     designator.

     <ext> is the optional extension of the procedure.  If not specified,
     .prg is assumed.

     SET PROCEDURE TO with no argument is ignored.

 Description

     SET PROCEDURE directs the compiler to compile all procedures and user-
     defined functions declared within the specified procedure file into the
     current object (.OBJ) file.

     SET PROCEDURE is a compatibility command and not recommended.  It has
     been superseded by other facilities more appropriate to the compiled
     environment (e.g., the compiler script (.clp)) file.

     See the Clipper "Compiler" chapter in the Programming and Utilities
     Guide for a full discussion of program architecture and configuration.

See Also: #include DO* FUNCTION PROCEDURE RETURN



2 responses to “C5_SET PROCEDURE

  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.