Backwards compatibility or sanity? help

Randy Hengst iowahengst at
Sat Aug 20 19:38:31 EDT 2016

This doesn’t totally fit with the conversation, and I assume the Team knows this but… SORT assumes that a trailing comma indicates an empty item… for example:

on mouseUp
   local tTestITEMS
   put "1,2,3,4,5," into tTestITEMS
   answer the number of items in tTestITEMS && "ITEMS" && "tTestITEMS" && tTestITEMS
   -- will give FIVE items

   sort items of tTestITEMS by random(10000)
   answer the number of items in tTestITEMS && "ITEMS" && "tTestITEMS" && tTestITEMS
   -- will give SIX items

end mouseUp

be well
randy hengst

> On Aug 20, 2016, at 6:22 PM, Monte Goulding <monte at> wrote:
>> On 21 Aug 2016, at 8:57 AM, Richard Gaskin <ambassador at> wrote:
>> It would appear that the current behavior in v8 is a fix that addresses a previously anomalous handling of delimiters in the case of "is among".
> That’s my feeling also. We know it impacts a popular library (Animation Engine), however, seeing as any code base that needs to be robust on all versions of LiveCode will need to ensure it doesn’t rely on empty trailing items with no delimiter after them I assume that will be need to be resolved regardless because all the 8.0.x series are impacted and a number of 7.x (we need to determine which ones).
> Cheers
> Monte
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list