BUG? Save CSV

CanelaKid

Member
Licensed User
Longtime User
I put the following 2 lines of code together to try to isolate the problem

Course = Util.LoadCSV2(DataStore & "/" & CourseName,"Course.csv",",",Heads)
Util.SaveCSV2(DataStore & "/" & CourseName,"Course.csv",",",Course,Heads)


The First line line correctly loads all details for each of 18 holes on a golf course, these are subsequently displayed correctly. However ....
The Second line seems to save the details of the 18th hole 18 times (not hole 1 - 18 as expected). Any ideas ??

(P.S. Originally posted in wrong forum)
 

CanelaKid

Member
Licensed User
Longtime User
CSV attached

Hi Erel, I am attaching the CSV File (Renamed to .txt)
 

Attachments

  • Course.txt
    823 bytes · Views: 223

CanelaKid

Member
Licensed User
Longtime User
I did indeed put the 2 lines of code together and appeared still to get the problem. But as I am working only with the emulator and have no idea how to inspect this file by any other method, I presumable was still using a corrupted copy from earlier
 
Top