@DIRWRITABLE — Tests whether the current user can write a directory.

Syntax:
@DIRWRITABLE[dirname]

dirnamethe directory to test

Returns 1 if you can write to the specified directory, 0 if not.

See also: the @DIRREADABLE function.