Changes in SET LIBRARY TO Functionality

ID: Q112469

The information in this article applies to:

SUMMARY

The SET LIBRARY TO command has been changed in FoxPro version 2.6 to allow greater compatibility with the dBASE IV version of this command. However, the version 2.6 Help file incorrectly documents these changes.

MORE INFORMATION

The SET LIBRARY TO command has been changed to include the same functionality as dBASE IV version 2.0. In previous versions of FoxPro, the SET LIBRARY TO command was used only to load an API library compiled using the Library Construction Kit (LCK). In version 2.6, the SET LIBRARY TO command can also be used to specify a procedure file. The SET PROCEDURE command remains unchanged and can still be used to specify a procedure file.

If both a SET LIBRARY TO <procedure file> and a SET PROCEDURE TO <procedure file> command are issued, both procedure files will be opened and the procedures within both files will be available for use.

If no extension is provided for the library filename, for example, "SET LIBRARY TO test", FoxPro will search for filenames in the following order:

   .PLB or .FLL
   .APP
   .FXP
   .PRG

Documentation Errors

The Help file is incorrect or incomplete in some areas.

NOTE: dBASE is manufactured by a vendor independent of Microsoft; we make no warranty, implied or otherwise, regarding this product's performance or reliability.

Additional reference words: FoxDos FoxWin 2.60 docerr KBCategory: kbprg kbdocerr kb3rdparty KBSubcategory: FxinteropDbase

Last Reviewed: June 28, 1995