Correction to QuickBASIC AllocString Function Prototype (66228)






This article was previously published under Q66228

SUMMARY

The AllocString library support routine is incorrectly documented on Page 458 of the "Microsoft QuickBASIC for Apple Macintosh: Language Reference." The documentation incorrectly shows the function prototypes as follows:

Pascal:
   PROCEDURE AllocString(VAR thestring: SDRECPTR; length: INT16);
				
C:
   pascal void AllocString(thestring, length);
   SDRECPTR thestring;
   INT16 length;
				
These incorrectly show "thestring" as type SDRECPTR, when it should be of the type StringPtr. The correct prototypes are shown below:

Pascal:
   PROCEDURE AllocString(VAR thestring: StringPtr; length: INT16);
				
C:
   pascal void AllocString(thestring, length);
   StringPtr *thestring;
   INT16 length;
				
This information applies to Microsoft QuickBASIC version 1.00 for Apple Macintosh Systems.

Modification Type: Minor Last Reviewed: 1/9/2003
Keywords: KB66228