Split as set

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
edgore
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 197
Joined: Wed Jun 14, 2006 8:40 pm

Split as set

Post by edgore » Thu Aug 29, 2013 6:53 pm

Does anyone know when "as set" got added to split? The dictionary says that Split hasn't changed since 2.8.1, but I just had something fail on a server that was running 5.something because I had a script that used it. Upgrading the server to 6.1 fixed it, so I am assuming that this is a recent addition that the documentation has not caught up with completely.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Split as set

Post by FourthWorld » Thu Aug 29, 2013 8:00 pm

Being an addition, "as set" shouldn't break any older usage. What was the syntax throws an error, and what was the error?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

edgore
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 197
Joined: Wed Jun 14, 2006 8:40 pm

Re: Split as set

Post by edgore » Thu Aug 29, 2013 8:41 pm

It didn't break an old usage - I noticed it in the dictionary when I was working on something (and wondered why I had not been using it all along, since the dictionary said split had not changed since 2.8.1) and used it in something new that I was working on - when I deployed it to the server the new code blew up at the word "as", since the server was running 5.something. I am just curious to know when it was added, so I know which version of LC Server is required to run the new code.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Split as set

Post by FourthWorld » Thu Aug 29, 2013 9:12 pm

I think you're right, that came much later than 2.8.1. You might consider filing a bug report for that Dictionary entry.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply