| _CP_print | Index Level | _CP_print_n |
| Syntax | int _CP_printer(int expression) |
| Category | C Interface |
| Type | C Function |
| Description |
equivalent to the FlashBASIC statement: printer expression
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 prints "hi" to the printer.*/
CPSTR * s = _CP_mkstr("hi"); _CP_printer(1); _CP_print(s); _CP_printer(0); _CP_printer(-1); |
| Warnings | The environment must be set to _CP_pick_env() for this function to work correctly. |
| Compatibility | AP 6.1 |
| _CP_print | Index Level | _CP_print_n |