Modify

#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 TicketCleanup, on Jun 26, 2010 at 12:00:02 PM

Version: 3.3.6.0

Automatic ticket cleanup.

comment:2 by J-Paul Mesnage, on Jun 27, 2010 at 8:02:30 AM

Owner: set to Jon
Status: newassigned

comment:3 by Valik, on Sep 22, 2011 at 4:15:50 PM

Resolution: Rejected
Status: assignedclosed

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.

Modify Ticket

Action
as closed The owner will remain Jon.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.