Modify

#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 by Synix <cross.fire@…>, on Dec 28, 2014 at 4:47:53 AM

file or folder*

comment:2 by Jpm, on Dec 28, 2014 at 12:39:02 PM

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 by Synix <cross.fire@…>, on Dec 30, 2014 at 7:42:48 PM

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 by guinness, on Jan 5, 2015 at 8:55:15 AM

Milestone: 3.3.13.20
Owner: set to guinness
Resolution: Fixed
Status: newclosed

Fixed by revision [11173] in version: 3.3.13.20

Modify Ticket

Action
as closed The owner will remain guinness.

Add Comment


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