Modify

Opened 11 years ago

Closed 11 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 by Synix <cross.fire@…>, 11 years ago

file or folder*

comment:2 by J-Paul Mesnage, 11 years ago

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@…>, 11 years ago

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, 11 years ago

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.