Detailed Descriptions > MIAMEX

MIAMEX 69: Get UMASK

xcall MIAMEX, MX_GETUMSK, umask

(UNIX only) This function retrieves the current UMASK setting. umask (Num) will return with the current value of the UMASK, treating it as if it were a decimal number.

For example, if the UMASK is 111 (which is actually an octal pattern), the returned umask value will be 111 (decimal).