Modify

Opened 10 years ago

Closed 9 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 Changed 10 years ago by TicketCleanup

  • Version 3.3.6.0 deleted

Automatic ticket cleanup.

comment:2 Changed 10 years ago by Jpm

  • Owner set to Jon
  • Status changed from new to assigned

comment:3 Changed 9 years ago by Valik

  • Resolution set to Rejected
  • Status changed from assigned to 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.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain Jon.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.