looping through the file
without
Let me explain what im trying to do, i want to make a loading bar for how much of the file has been read, how would i get the % of the file read (or how would i do the loading bar if im not able to get the %)?
You can'tUnless you are writing the file yourself, that's also how the save file upload has a progress barIt writes the line count somewhere in the header and reads it at the beginning, then simply counts
impossible
You can't
wrongWRONGgetFieldCount(getFileContents("file.path"));As long as your file doesn't have tabs in it this will work just fine.
getFileContents is a function from RTB; make sure you copy the function's code into your own add-on.
What do you think a function called getFileContents does?RIGHT, IT READS THE WHOLE FILE
Wouldn't getRecordCount work?
I'd like to see you come up with something better.