_CP_crt

_CP_crt is equivalent to the crt BASIC statement.

Syntax

int _CP_crt(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_crt(t);