Managing Long IDs?

Scott Rossi scott at tactilemedia.com
Mon Jul 15 20:03:59 EDT 2013


Hi Monte:

It was just a simple example, but you made me realize I can probably
modify some repeat-for-each functions to use a different delimiter (at
least, I hope repeat-for-each will use the currently set item delimiter).

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/15/13 4:45 PM, "Monte Goulding" <monte at sweattechnologies.com> wrote:

>
>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!
>
>
>
>
>
>_______________________________________________
>use-livecode mailing list
>use-livecode at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode
>






More information about the use-livecode mailing list