_CP_print

_CP_print is equivalent to the print string BASIC statement.

Syntax

int _CP_print(CPSTR* string)

Description

This function returns -1 if an error occurs. The error code is contained in _CP_errno.

Note: The environment must be set to _CP_pick_env() for this function to work properly.

Example(s)

CPSTR * t = _CP_mkstr("b");
_CP_print(t);