Opened 16 years ago
Closed 14 years ago
#1695 closed Feature Request (Rejected)
Add some better discription to help file how to usw the modes from FileOpen
| Reported by: | TomCat | Owned by: | Jon |
|---|---|---|---|
| Milestone: | Component: | Documentation | |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description
Hi I was spending now more then one hour to find out why I wasnt able to write in mode 128
like this
$file = FileOpen("test.txt", 128 )
FileWrite($file, "test")
FileClose($file)
I suggest to add to help file for the function FileOpen that you have to add +1 or +2 to the modes the other non ANSI modes to use Write mode (append to end of file) / 2 = Write mode (erase previous contents)
Think it would be helpfull for others.
I thank you for your attention
Attachments (0)
Change History (3)
comment:1 by , 16 years ago
| Version: | 3.3.6.0 |
|---|
comment:2 by , 16 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:3 by , 14 years ago
| Resolution: | → Rejected |
|---|---|
| Status: | assigned → closed |
I don't see the current documentation as confusing. It takes 2 seconds of critical thinking to realize if you want to write you have to specify the write flags. Closing as rejected.

Automatic ticket cleanup.