Check if a file is Read-Only

BlitzPlus Forums/BlitzPlus Programming/Check if a file is Read-Only

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You can use OpenFile().

If a file is read-only, it returns 0. You would also have to check that the file actually exists first though, using FileType().