MAXScript does readable/writable checks since 3ds Max 4 and throws an error if you try to read from a write-only file and vice versa. Some modes are read/write, such as "a+" "w+" and "r+".
FileStream Values
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Please see the Autodesk Creative Commons FAQ for more information.