***********************************************************************************
Paradox for DOS Initialization File (.INI) Functions

Author:  Anderson P. Bryan
Date:    December 14, 1993
Version: 1.12

Allows Paradox scripts to retrieve information from and write information
to an initialization file.

Uses same API functions as Microsoft Windows(tm)
  GetPrivateProfileNumber    - Retrieves a number value from an initialization file
  GetPrivateProfileString    - Retrieves a string from an initialization file
  GetProfileNumber           - Retrieves a number value from PDOX.INI
  GetProfileString           - Retrieves a string from PDOX.INI
  WritePrivateProfileString  - Writes a string to an initialization file
  WriteProfileString         - Writes a string to PDOX.INI

Copyright (c) 1993 Venture Computing Group, Inc.  All Rights Reserved.
Microsoft and Windows are registered trademarks of Microsoft Corporation.
***********************************************************************************


Include PROFILE.LIB in your "autolib" variable.

FUNCTION PROTOTYPES
GetPrivateProfileString( szFileName, szSection, szEntry, szDefault )  {string}
GetPrivateProfileNumber( szFileName, szSection, szEntry, dDefault )  {number}
GetProfileString( szSection, szEntry, szDefault )  {string}
GetProfileNumber( szSection, szEntry, dDefault )  {number}
WritePrivateProfileString( szFileName, szSection, szEntry, szEntryStr )
WriteProfileString( szSection, szEntry, szEntryStr )

PARAMTER DESCRIPTIONS
szSection  = name of section
szEntry    = name of entry
szDefault  = default string
dDefault   = default number
szFileName = initialization filename (path optional)


PDOX.INI
This file is the default .ini file like WIN.INI. The file is assumed to be in the
current Paradox private directory. You can change this by overwriting DEFAULT_INI_FILE()
in the library. Your DEFAULT_INI_FILE() replacement should return a string containing
the complete path and filename.

These functions can also be used to access .ini file created by Windows.

You can use an .ini file save your application user's preferences, start options,
restore application workspace, etc.


QUESTIONS & COMMENTS
Anderson P. Bryan
Venture Computing Group, Inc.
21 Second Avenue
Troy, NY 12180-1101
(518) 237-8284
(518) 235-6176 FAX
72010,2457 Compuserve