As discussed in the past, there was probably a good reason to do it this way 
when HyperTalk was created, and since then it’s been maintained because of 
backward compatibility reasons. Changing this would likely break a lot of code. 
However other applications and dev systems would treat the last item or line as 
an empty one. SQL does (or will break the SQL for certain things). dBase does. 
Excel does. I am fairly certain that C++ and Java do. It’s one of the fairly 
numerous quirks of LC coding you get used to after stumbling on them from time 
to time. 

Bob S


> On Feb 9, 2015, at 11:29 , J. Landman Gay <jac...@hyperactivesw.com> wrote:
> 
> On 2/9/2015 12:58 PM, Mike Bonner wrote:
>> "1,2,3,4," is 4 items (comma terminator as you said, acts as a terminator
>> to the preceeding)  "1,2,3,4,5" is 5, so the trailing coma is implied.
> 
> Yup, that's it.
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to