cfunc.mkstr

C Function/C Functions, Releases: AP 6.1

Create a CPSTR* from a c string

Syntax

CPSTR* _CP_mkstr(char* cstring)

Description

dynamically allocates a CPSTR* and fills it with a copy of cstring.

Example

CPSTR * s = _CP_mkstr('This is a string');

See Also

Command Name Type Description
cfunc.introduction Introductory Overview
cfunc.print C Function Pick/BASIC 'print' functionality from C.
cfunc.printn C Function Pick/BASIC 'print' 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.