cfunc.crtn

C Function/C Functions, Releases: AP 6.1

Pick/BASIC 'crt' functionality from C.

Syntax

int _CP_crt_n(CPSTR* string)

Description

equivalent to Pick/BASIC statement: crt

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

Example

CPSTR * t = _CP_mkstr('b');

_CP_crt_n(t);

See Also

Command Name Type Description
cfunc.introduction Introductory Overview
cfunc.crt C Function Pick/BASIC 'crt' functionality from C.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.