PRB: charttype Constants Are Documented with Wrong Names in C

ID Number: Q68693

6.00 6.00a 6.00ax

MS-DOS

docerr

Summary:

In Microsoft C versions 6.0, 6.0a, and 6.0ax, when using the

_pg_chart() function, the first parameter is a chart environment

pointer, which defines the structure chartenv. Within this structure,

the first element is a short called charttype. According to the C 6.0

online Help and the documentation in PGCHART.H, there are five

predefined constants that can be used for the charttype:

_PG_BAR - Bar chart

_PG_COLUMN - Column chart

_PG_LINE - Line chart

_PG_SCATTER - Scatter chart

_PG_PIE - Pie chart

However, the actual constant names are defined to be _PG_BARCHART,

_PG_COLUMNCHART, _PG_LINECHART, _PG_SCATTERCHART, and _PG_PIECHART.

Additional reference words: 6.00 6.00a 6.00ax