cfunc.mkstr C Function/C Functions, cfunc.mkstrl C Function/C Functions, cstring Definition/C Functions

cfunc.mkstr

Command cfunc.mkstr C Function/C Functions
Applicable release versions: AP 6.1
Category C Functions (120)
Description dynamically allocates a CPSTR* and fills it with a copy of cstring.
Syntax CPSTR* _CP_mkstr(char* cstring)
Options
Example
CPSTR * s = _CP_mkstr("This is a string");
Purpose
Related cfunc.introduction
cfunc.print
cfunc.printn

cfunc.mkstrl

Command cfunc.mkstrl C Function/C Functions
Applicable release versions: AP 6.1
Category C Functions (120)
Description dynamically allocates a CPSTR* of length expression and fills it with a copy of cstring.
Syntax CPSTR* _CP_mkstrl(char* cstring, int expression)
Options
Example
CPSTR * s = _CP_mkstr("Hi",2);
Purpose
Related cfunc.introduction

cstring

Command cstring Definition/C Functions
Applicable release versions: AP 6.1
Category C Functions (120)
Description a series of characters terminated by a null (0x00) usually used in C.
Syntax
Options
Example
char x [] = "hi there";
Purpose
Related