| _CP_crt_n | Index Level | _CP_date |
| Syntax | int _CP_data(CPSTR* string) |
| Category | C Interface |
| Type | C Function |
| Description |
Equivalent to the FlashBASIC statement: data string
data string This function returns -1 if an error occurs. The error code is contained in _CP_errno. |
| Options | |
| See Also | C Functions introduction |
| Example |
/* The following example copies the "xx" item in the md to item "yy". */
CPSTR * s = _CP_mkstr("copy md xx"); CPSTR * t = _CP_mkstr("yy"); CPSTR * c = _CP_str_null; CPSTR * r = _CP_str_null; _CP_data(t); _CP_execute(_CP_EXECUTE,s,&c,&r); |
| Warnings | |
| Compatibility | AP 6.1 |
| _CP_crt_n | Index Level | _CP_date |