Forums > Javascript

SQLite Javascript Code Bug

March 9, 2012 | 10:55 pm

Hi to all.

I believe I have found a problem in the SQLite code found here:

http://cycling74.com/2008/09/05/data-collection-building-databases-using-sqlite/

When you load a folder with various files, it skips all of the files that include in their names the symbol ( ‘ ).

Any idea of why this is happening? I know that it is easy to rename all the files (to do this automatically use a tool like File Renamer for Mac), but I am trying to understand the reason of this behavior.

I mean, the code specifically says that:

while(!f.end){
if(f.filename!=""){
insert_entry(f.filename);
}
f.next();
}

Any help is appreciated.

Stav.


Viewing 1 post (of 1 total)