BUG: Bug in combine on 6.x.x series ?

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
Lagi Pittas
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 366
Joined: Mon Jun 10, 2013 1:32 pm

BUG: Bug in combine on 6.x.x series ?

Post by Lagi Pittas » Mon Dec 07, 2015 4:00 pm

Hi,

I have tried to use combine <array> by empty but it always gives an error. If I use

Code: Select all

""
I get exactly the same error
execution error at line x (Split: execution error in expression), char 1
I tried it both on 6.7.7 and 6.7.8 latest versions and it fails. I then tried it on 7.1 and no error.

On a sidenote I went to the quality site to suggest it as a bug in as a bug and there are hundreds (nay thousands) of bugs going back to years marked as unconfirmed and pending - if they have been fixed shouldn't they be marked as such?

Lagi

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

Re: BUG: Bug in combine on 6.x.x series ?

Post by FourthWorld » Mon Dec 07, 2015 4:50 pm

Lagi Pittas wrote:On a sidenote I went to the quality site to suggest it as a bug in as a bug and there are hundreds (nay thousands) of bugs going back to years marked as unconfirmed and pending - if they have been fixed shouldn't they be marked as such?
With so many changes over the years some reports have been obsolete for reasons ranging from deprecated OS features to simply having been fixed while addressing other reports.

To trim the noise in the bug DB, last year the LiveCode product manager sent emails to all bug reporters without outstanding reports which included links to each report not yet closed, along with instructions to please verify that the issue remains in the current version and to please note if it does.

It seems only a handful of us who got the email responded with those confirmations.

I've discussed this with the team, and at some point we'll split up the DB into sections and have a team of people go through it to update current status and close older noise reports. But with priorities right now very much focused on delivering a great v8.0, this side project may have to wait a few more weeks.

In the meantime, if you come across any reports there that are either no longer relevant in the current version, or indeed very relevant in which the recipe exhibits the same behavior in the current build as in the reported build, please feel free to add a note to the report. Feedback like that will be very helpful with the future review effort.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10331
Joined: Wed May 06, 2009 2:28 pm

Re: BUG: Bug in combine on 6.x.x series ?

Post by dunbarx » Mon Dec 07, 2015 4:51 pm

Hi.

i am not sure this is a bug. Why would you want to deconstruct an array by using no delimiter at all? How could that work? You are essentially saying "deconstruct my array, but use no criteria to do so"

Craig Newman

Lagi Pittas
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 366
Joined: Mon Jun 10, 2013 1:32 pm

Re: BUG: Bug in combine on 6.x.x series ?

Post by Lagi Pittas » Mon Dec 07, 2015 6:14 pm

Thanks Richard for that I thought as much but things going back over 8 years seemed a lot.

and Craig ...

Well first off I can skin a cat many ways - with a repeat a loop in this case.
But to answer your question this came up because I found an old thread about combine "scrambling the order of split"

And until then I didn't know that empty would work - It does in 7 but not in 6.

I have an array of characters and I want to create a "string" so if my array has a[1] as "A1" and a[2] as "B2" and a[3] as "C00" the combine would be "A1B2C00" - now since I have an array of 2 million of these I was thinking combine would be faster than my current repeat loop.

But my point still stands, if it works in 7 exactly how it should I would not call that a bug as some intelligent designer must have made it so.

Lagi

Post Reply