                           Ŀ
                             DOS70 Version 2.0  
                           
                                   Manual 
                                  

                       Copyright (C) by Cristi Streng
                                 February 1998

   

   Read this file before working with the new DOS70P unit (with PChar strings
instead of standard Pascal strings). This file contains some information about
the differences between the two versions of DOS70 (the Pascal strings version
and the PChar strings version).

   

CHANGES IN FUNCTION & PROCEDURE DECLARATIONS


   All the functions and procedures that used 'string' parameters have been
changed, they now use 'pchar' parameters. In order for them to work correctly,
these parameters must be valid pchar strings.
   The functions that returned a string became procedures that have an extra
parameter, a pchar string, named 'Res'. This parameter is the equivalent of
the return value of the functions (it is filled on return with the returned
value of the function - procedure).

   

PCHAR PARAMETERS


   The functions that returned a string (in the standard string version of
DOS70) were transformed into procedures and now return a pchar string in a
parameter. For these functions to work correctly, you have to allocate memory
for the pchar parameter before calling the procedure and deallocate this
memory after the procedure returns. See the examples to find out how you can
do this.

   
