Managing Long IDs?

Monte Goulding monte at sweattechnologies.com
Mon Jul 15 19:45:15 EDT 2013


On 16/07/2013, at 9:30 AM, Scott Rossi <scott at tactilemedia.com> wrote:

> For example, a line contains an object's long ID + comma + object's loc
> 
> If the long ID contains commas, parsing the line fails.
> 
> Yes, I could use another delimiter, but this involves changing code and
> flipping delimiters in a bunch of places, so I was hoping I could use some
> kind of encoding.  Mark's suggestion will work.

Ah... the curse of comma delimited everything... If that's the only use case then you could just use:
put item 1 to -3 of theLine into theLongID... but it probably is worthwhile changing your data structure.

--
Monte Goulding

M E R Goulding - software development services
mergExt - There's an external for that!








More information about the use-livecode mailing list