cfunc.heading C Function/C Functions

cfunc.heading

Command cfunc.heading C Function/C Functions
Applicable release versions: AP 6.1
Category C Functions (120)
Description equivalent to the Pick/BASIC 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.
Syntax int _CP_heading(CPSTR* string)
Options
Example
/* The following example sets the heading to "heading". */

CPSTR * s = _CP_mkstr("heading");

_CP_heading(s);
Purpose
Related cfunc.introduction