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 ?
LC Crash - is this a known cause...
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
LC Crash - is this a known cause...
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 

Re: LC Crash - is this a known cause...
Hi MrAlobar,
shouldn't happen at all!
Does it also crash if you leave out the PLUS: put 1 into tCAlCount
?
Best
Klaus
shouldn't happen at all!

Does it also crash if you leave out the PLUS: put 1 into tCAlCount
?
Best
Klaus
Re: LC Crash - is this a known cause...
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"
Re: LC Crash - is this a known cause...
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 ! )
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 
