Importing data into RevDB

David Coker davidocoker at
Fri Dec 4 17:02:14 EST 2009

>normally, csv is a pain in the ass, but Rev tokens trump that ;)
>you can set the linedelimiter to comma, and the itemdelimter to quote.  
>then you could do something similar to this (great for not having to  
>make special cases for the particular field being empty, lacking  
>quotes, etc.):
>set the linedelimiter to comma
>set the itemdelimiter to quote
>repeat for each line theLine in theCSV
>   put item 1 to -1 of line theLine into theData
>   --do stuff with data here
>end repeat

Hello Björnke,
That is an awesome idea, well worth pursuing...

>normally, csv is a pain in the ass, but Rev tokens trump that ;)

I sure can't argue that point. 

Most of what I do with Rev involves processing text of some sort and when considering the simplicity of Rev, I have yet to find anything that even comes close to it for parsing text. I've found that my own lack of knowledge and understanding are the weak links around here. ;)

Thank you so much for the help,

David C.

More information about the Use-livecode mailing list