GO acts differentely on mobile?

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

GO acts differentely on mobile?

Post by MaxV » Mon Dec 23, 2013 4:14 pm

Coding on Android I realized after many tests that GO acts differently on Desktop and on mobile. :shock:
Let's see an example:

Code: Select all

on myMex
go to card 2
answer "hello world"
end myMex
On Desktop (Win, Mac, Linux)
the following message is executed all to the end: so the program switch to card 2 and then you see "hello world"

On mobile
You'll never see "hello world":
In other words, when you change card on mobile,the current message is stopped and it doesn't continue anymore...

Am I right?
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

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

Re: GO acts differentely on mobile?

Post by Mark » Mon Dec 23, 2013 6:09 pm

Hi,

No, you're wrong. Probably, you have an error in your actual script.

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

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: GO acts differentely on mobile?

Post by MaxV » Mon Dec 23, 2013 6:27 pm

Hi,
I'm using Livecode 6.5.1. Please may you check this?
Create two cards in a stack and a button with the code:

Code: Select all

on MouseUp
go to card 2
put "Hello world" into temp
answer temp
end MouseUp 
On my android phone I can't see the pop up with "Hello world", it just switches card... :(
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

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

Re: GO acts differentely on mobile?

Post by Mark » Mon Dec 23, 2013 6:33 pm

Hi,

The script I tried is:

Code: Select all

on mouseUp
   go cd 2
   answer "Hello World"
end mouseUp
and I'm using Android 2.3.3 with LiveCode 6.5.0.3009. This script works fine for me.

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

Post Reply