adamrobert
Programmer
Hi,
How would I efficiently incorporate an OR statement into the code below:
Const READONLY = 1
Const WRITEABLE = 0
If file.Attributes = READONLY ........OR .......Then
file.Attributes = WRITEABLE
I've discovered that all file values are not necessarily 1 when they are of type 'read only' therefore I need to account for other file types such as 32 or 33.
Any help would be greatly appreciated.
Cheers,
adamrobert
How would I efficiently incorporate an OR statement into the code below:
Const READONLY = 1
Const WRITEABLE = 0
If file.Attributes = READONLY ........OR .......Then
file.Attributes = WRITEABLE
I've discovered that all file values are not necessarily 1 when they are of type 'read only' therefore I need to account for other file types such as 32 or 33.
Any help would be greatly appreciated.
Cheers,
adamrobert