Modify

Opened 9 years ago

Closed 9 years ago

#2961 closed Bug (Fixed)

FileGetSize() Documentation

Reported by: Synix <cross.fire@…> Owned by: guinness
Milestone: 3.3.13.20 Component: Documentation
Version: 3.3.12.0 Severity: None
Keywords: Cc:

Description

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 <cross.fire@…>

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

Cheers

comment:3 Changed 9 years ago by Synix <cross.fire@…>

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 3.3.13.20
  • Owner set to guinness
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [11173] in version: 3.3.13.20

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 guinness.
Author


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

 
Note: See TracTickets for help on using tickets.