| %CHDIR | Index Level | %CHOWN |
| Syntax | variable = %CHMOD( string, mode ) |
| Category | BASIC |
| Type | C Function |
| Description |
changes the mode of the file "string" to the value specified in "mode".
The valid values for "mode" are in the include "mode.h". Combinations of the modes are obtained by adding several elementary mode values together. |
| Options | |
| See Also | c function CFUNCTION |
| Example |
include dm,bp,unix.h mode.h file='/usr/pick' n=%chmod(file, O$WRONLY) |
| Warnings | |
| Compatibility | D3/Unix |
| %CHDIR | Index Level | %CHOWN |