| _CP_pick_break | Index Level | _CP_precision |
| Syntax | int _CP_pick_env() |
| Category | C Interface |
| Type | C Function |
| Description |
sets the application to a standard Pick environment.
When using this setting, all terminal input and output must be done via Pick routines only (execute, print, crt). The default environment after logging onto Pick is _CP_pick_env. This function returns -1 if an error occurs. The error code is contained in _CP_errno. |
| Options | |
| See Also | C Functions introduction |
| Example | _CP_pick_env(); |
| Warnings |
Unix routines that output to the screen like system() or printf() will not print correctly when in _CP_pick_env(). To use these calls, the user must switch to _CP_unix_env().
This function is fairly expensive. |
| Compatibility | AP 6.1 |
| _CP_pick_break | Index Level | _CP_precision |