_CP_heading is equivalent to the heading string BASIC statement.
int _CP_heading(CPSTR* 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.
/* Sets the heading to "heading". */ CPSTR * s = _CP_mkstr("heading"); _CP_heading(s);