ddIsObjWritableEx
ddIsObjWritableEx(
b_objId
x_pathType
)
=> t / nil
Description
Returns t if the object specified by b_objId can be modified by the current process. This function is similar to ddIsObjWritable except that you can specify whether to look for the object in the temporary directory or the master directory, or both, with the x_pathType argument.
Arguments
|
b_objId
|
ID of the object.
|
|
x_pathType
|
One of the following integer values:
-
0
Looks for the object only in the master directory -
1
Looks for the object only in the temporary directory -
2
Looks for the object in the temporary directory first; if it is not found, looks for it in the master directory. However, if the object is a library, returns information about the library itself (the master directory), not its temporary directory.
|
Value Returned
|
t
|
b_objId can be modified by the current process.
|
|
nil
|
The object was not found or is not writable.
|
Related Topics
ddIsObjReadableEx
Return to top