Project

General

Profile

Bug #739

Dir First$ and Dir Next$ do not return the "*" before folder names.

Added by Brian Flanagan about 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
High
Assignee:
AOZ Developers
Target version:
-
Start date:
04/25/2021
Due date:
% Done:

0%

Estimated time:
1:00 h
Affected version:

Description

Folder names are supposed to have a "*" as the first character to differentiate them from regular files.
Dir First$ and Dir Next$ do not return these.

Example: Assuming that that resources/filesystem/application folder contains:

testDir (a folder/directory)
empty.file ( a plain text file)

The following program:

F$=Dir First$
While F$<>""
  Print F$
  F$=Dir Next$
Wend

Produces this result:

testDir
empty.file

...but SHOULD produce this result:

*testDir
empty.file
#1

Updated by Brian Flanagan almost 3 years ago

  • Affected version changed from 1.0.0 (B7) to 1.0.0 (B8)

Re-tested in 1.0.0 (B8) v14

As-is, there is no way to distinguish between folders and files, since the * is left off of the folder names in the results!

#2

Updated by Francois Lionet almost 3 years ago

  • Status changed from New to Resolved

Fixed

#3

Updated by Brian Flanagan almost 3 years ago

  • Status changed from Resolved to Closed
  • Affected version changed from 1.0.0 (B8) to 1.0.0 (B9)

The * has been added to denote folders.

Thank you Francois!

Also available in: Atom PDF