file.new
| Syntax |
file.new (path)
|
| Params |
path is a legal path name to the file you wish to create.
|
| Action |
Creates a new empty file, overwriting any existing file.
|
| Returns |
True
|
| Examples |
file.new ("C:\\Program Files\\Frontier\\sample.txt") » true
|
| Notes |
Once the file has been created, you can use file.writeLine to add text to it. If the file exists, it is deleted and replaced by a new file. On Mac OS, Frontier initializes the file's type and creator to be '????'. Use file.setCreator and file.setType to change either or both of these values as appropriate.
|
| See Also |
file.setCreator
|