Skip to content

CSV_Identifier name collision with multiple CSV files #2

Description

@Ethan-Burchett

HI, just to start, this CSV library is great and does a lot of good things.

I think I found an issue when you try to use CSV_Load on two different .csv files in one .ahk program.

The second call of CSV_Load, the CSV_Identifier overwrites the first CSV_Identifier.

You can still access the data members of the second CSV_Identifier but use the first CSV_Identifier.

EX

CSV_Load("\Job Folder\jobFolderPaths.csv", JobFolderPathData,",") -> JobFolderPathData is the 1st CSV_Identifier

CSV_Load("\Job Folder\JobListPath.csv", CompanyIndex ,",") -> CompanyIndex is the 2nd CSV_Identifier

If you call CSV_FileName(JobFolderPathData) (1st CSV_Identifier) you will return the file name of CompanyIndex (1st CSV_Identifier)

This issue persists even if each CSV_Load() is in it's own .ahk file.

Thanks
EB

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions