Best way to crash via code a LC app (on Android)

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
Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

Best way to crash via code a LC app (on Android)

Post by Mag » Wed Jan 29, 2014 1:58 am

Just for testing purposes, what is the "best" way to crash an app on Android? :oops:

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Best way to crash via code a LC app (on Android)

Post by Mark » Wed Jan 29, 2014 1:58 pm

Hi,

Code: Select all

global x
on mouseUp
  put "x" & x into x
  mouseUp
end mouseUp
Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

Re: Best way to crash via code a LC app (on Android)

Post by Mag » Wed Jan 29, 2014 2:43 pm

Thank you so much Mark, this is not in your book, right? ;)

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Best way to crash via code a LC app (on Android)

Post by Mark » Wed Jan 29, 2014 3:22 pm

Right! Right! Right!

(Your message contains 6 characters. The minimum number of characters you need to enter is 10.)
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Mag
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 802
Joined: Fri Nov 16, 2012 10:51 pm

Re: Best way to crash via code a LC app (on Android)

Post by Mag » Wed Jan 29, 2014 3:41 pm

I imagine that in the book you are looking to help the reader to avoid crashes, rather than create them. :D :lol: :P

Post Reply