LC Crash - is this a known cause...

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
MrAlobar
Posts: 70
Joined: Mon Dec 08, 2014 6:42 pm

LC Crash - is this a known cause...

Post by MrAlobar » Wed Jan 14, 2015 5:55 pm

I'm a new LC coder....

While trying to build a calender using create in a repeating loop I crashed LC - I narrowed down the cause to this line...

put +1 into tCalCount

I proved this by creating a fresh stack with this line in the mouseUp handle of a button - nothing else.

Does anyone know if this is known to crash LC ?
I've Created it with Live Code, I've published it - that's the easy bit done, but how the hell do I get people to download it :?

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: LC Crash - is this a known cause...

Post by Klaus » Wed Jan 14, 2015 6:12 pm

Hi MrAlobar,

shouldn't happen at all! :shock:

Does it also crash if you leave out the PLUS: put 1 into tCAlCount
?


Best

Klaus

magice
Posts: 457
Joined: Wed Mar 18, 2009 12:57 am

Re: LC Crash - is this a known cause...

Post by magice » Wed Jan 14, 2015 6:19 pm

Is this a case where you want to increment tCAlCount, or is it a case where you just want to specify that "1" is a positive number? And, if it's the former, does that incrementation effect the termination of the loop? If so try "add 1 to tCalCount"

MrAlobar
Posts: 70
Joined: Mon Dec 08, 2014 6:42 pm

Re: LC Crash - is this a known cause...

Post by MrAlobar » Thu Jan 15, 2015 3:02 pm

Hi Klaus - it doesn't crash if I leave out the PLUS.

Hi Magice - I'm incrementing tCalCount by 1 and yes, "add 1 to tCalCount" does work ok.

Thank you both for your suggestions - I have raised a bug report (#14384), the bug has been confirmed and assigned and is awaiting build.

( I've now signed up for the Create it with LC course ! )
I've Created it with Live Code, I've published it - that's the easy bit done, but how the hell do I get people to download it :?

Post Reply