/programs/other/table/calc.cpp |
---|
579,7 → 579,6 |
char buffer[512]; |
kosFileInfo fileInfo; |
rtlDebugOutString("hi"); |
rtlDebugOutString(fname); |
strcpy(fileInfo.fileURL, fname); |
720,12 → 719,6 |
char *d, *s, *k; |
int step = 0, items; |
if (str_is_csv(fname)) |
return LoadCSV(fname); |
//rtlDebugOutString(fname); |
strcpy(fileInfo.fileURL,fname); |
fileInfo.OffsetLow = 0; |
fileInfo.OffsetHigh = 0; |
740,11 → 733,13 |
return -1; |
} |
if (str_is_csv(fname)) |
return LoadCSV(fname); |
// clear the table |
reinit(); |
//rtlDebugOutString("clear done"); |
filesize = bdvk.size_low; |
fileInfo.rwMode = 0; |