| _CP_writev | Index Level | CPSTR |
| Syntax | int _CP_xtd(double* result, CPSTR* string) |
| Category | C Interface |
| Type | C Function |
| Description |
equivalent to the FlashBASIC statement: result = xtd(string).
This function returns -1 if an error occurs. The error code is contained in _CP_errno. |
| Options | |
| See Also | C Functions introduction _CP_dtx |
| Example |
The following example prints 15.
CPSTR * s = _CP_mkstr("F"); double f; _CP_xtd(&f,s); _CP_unix_env(); printf("%f\n",f); |
| Warnings | |
| Compatibility | AP 6.1 |
| _CP_writev | Index Level | CPSTR |