| _CP_call | Index Level | _CP_cat |
| Syntax | int _CP_casing(int expression) |
| Category | C Interface |
| Type | C Function |
| Description |
equivalent to the FlashBASIC statement: casing expression
This function returns -1 if an error occurs. The error code is contained in _CP_errno. |
| Options | |
| See Also | C Functions introduction |
| Example |
CPSTR * s = _CP_mkstr("a");
CPSTR * t = _CP_mkstr("A"); int i; _CP_unix_env(); /* default is casing off - print 0 */ _CP_compare(&i,s,t); printf("%d\n",i); /* turn casing on - print 1 */ _CP_casing(1); _CP_compare(&i,s,t); printf("%d\n",i); |
| Warnings | The _CP_casing will affect any FlashBASIC calls initiated from the C environment. |
| Compatibility | AP 6.1 |
| _CP_call | Index Level | _CP_cat |