Opened 9 years ago

Closed 9 years ago

#2961 closed Bug (Fixed)

FileGetSize() Documentation

Reported by: Synix <…> Owned by: guinness
Milestone: Component: Documentation
Version: Severity: None
Keywords: Cc:


Failure: 0 and sets the @error flag to 1.

should be

Failure: 0 and sets the @error flag to 1 if the file doesn't exist.

Attachments (0)

Change History (4)

comment:1 Changed 9 years ago by Synix <…>

file or folder*

comment:2 Changed 9 years ago by Jpm

for me there is no bug just pehaps an improvement but it is always difficult to caracterize the type of error with just one @error code.
That's the reason it is not more defined.
If you use a mounted volume it could be the drive is not accessible


comment:3 Changed 9 years ago by Synix <…>

Oh okay. Because I tested it and found it was the exact same behavior as for DirGetSize(), where the documentation is more detailed about @error.

That's why I thought that info was just missing here. If the @error value also gets set on other cases like you say, this report is irrelevant.

comment:4 Changed 9 years ago by guinness

  • Milestone set to
  • Owner set to guinness
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [11173] in version:

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

as closed The owner will remain guinness.

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

Note: See TracTickets for help on using tickets.