cfunc.print

C Function/C Functions, Releases: AP 6.1

Pick/BASIC 'print' functionality from C.

Syntax

int _CP_print(CPSTR* string)

Description

equivalent to the Pick/BASIC statement: print string

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

Example

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

See Also

Command Name Type Description
cfunc.introduction Introductory Overview
cfunc.mkstr C Function Create a CPSTR* from a c string

User Comments

What do you think?

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

Login to leave your comments.