|Top Previous Next|
Specifies that an empty file should always be created.
This constant is used only with open function. It specifies that an empty file should always be created; if the file already exists, it is truncated to zero length.
f = File.open("test", File.createAlways | File.openFile);