_CP_heading

_CP_heading


_CP_get Index Level _CP_iconv
Syntax int _CP_heading(CPSTR* string)
Category C Interface
Type C Function
Description equivalent to the FlashBASIC statement: heading string

This function returns -1 if an error occurs. The error code is contained in _CP_errno.  If the heading is too long, _CP_errno will contain PE_LONG_STR.
Options
See Also C Functions introduction
Example /* The following example sets the heading to "heading". */

CPSTR * s = _CP_mkstr("heading");

_CP_heading(s);
Warnings Heading and footing will only work properly if all output is done through _CP_ calls.
Compatibility AP 6.1
_CP_get Index Level _CP_iconv