Q49315: Parameter Order Incorrect for _pg_chartms, _pg_charscatterms
Article: Q49315
Product(s): See article
Version(s): 2.00 2.01
Operating System(s): MS-DOS
Keyword(s): ENDUSER | docerr S_QuickAsm | mspl13_c
Last Modified: 10-OCT-1989
Pages 322 and 323 of the Microsoft QuickC "C for Yourself" reference
incorrectly states the order of the parameters for _pg_chartms() and
_pg_chartscatterms().
The variables "n" and "nseries" are not in their correct order for the
_pg_chartms() and _pg_chartscatterms() functions to properly plot the
data values. The two variables, "n" and "nseries", must be switched
for the functions to work correctly.
The correct documentation for _pg_chartms() and _pg_chartscatterms() can
be found in the on-line help for QuickC and QuickC with QuickAssembler
integrated environment, and on Pages 144 and 145 of the "Microsoft
QuickC Graphics Library Reference" manual.
The incorrect functions are as follows:
_pg_chartms (chartenv far *env, char * far *categories,
float far *values, short n, short nseries,
short arraydim, char far *serieslabels);
_pg_chartscatterms (chartenv far *env, float far *valuesx,
float far *valuesy, short n, short nseries,
short arraydim, char * far *serieslabels);
The correct parameters should read as follows:
_pg_chartms (chartenv far *env, char * far *categories,
float far *values, short nseries, short n,
short arraydim, char far *serieslabels);
_pg_chartscatterms (chartenv far *env, float far *valuesx,
float far *valuesy, short nseries, short n,
short arraydim, char * far *serieslabels);
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
Copyright Microsoft Corporation 1986-2002.