DG outcomes on desktop vs mobile
Dan Friedman
dan at clearvisiontech.com
Fri Oct 23 13:54:29 EDT 2020
Phil,
One thing I have noticed is if you have a put command with no destination, mobile devices DO NOT LIKE THIS!! It will halt script execution completely as if it were an error. For example:
put myVar
This would normally put the contents of myVar into the message box. But on a real phone, it's a disaster! Maybe you have one of these put's somewhere that is halting executing and causing the DG not to be filled. Just a thought.
-Dan
On 10/23/20, 10:25 AM, "use-livecode on behalf of Phil Davis via use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of use-livecode at lists.runrev.com> wrote:
That's a good question. On desktop, the array variable is full of data.
On the iPad it's apparently empty. I'll drill down further and see
what's going on.
Thanks for the idea.
Phil
On 10/23/20 1:03 AM, JeeJeeStudio via use-livecode wrote:
> What do you see when you answer the data you set the dgdata to? Does it
> show the values?
>
> Op vr 23 okt. 2020 08:44 schreef Phil Davis via use-livecode <
> use-livecode at lists.runrev.com>:
>
>> I'm building an iPad app that reads a bunch of files into an array and
>> then sets the dgData of a form DG to that array. The array is
>> well-formed for DG use. After setting the dgData of the DG, the result
>> is empty. Only one problem: the DG now contains no data. (I also tried
>> setting the dgText of the DG to a flat version of the same data and got
>> the same outcome.)
>>
>> I can then create another array from custom property data and set the
>> dgData of the same form DG to that array and it works.
>>
>> On the desktop, however, the same DG loading process never fails.
>>
>> The data being loaded is all text - nothing esoteric.
>>
>> Does anyone have any ideas how I can find & fix the problem(s)? Or have
>> you run into this before?
>>
>> Thank you -
>> Phil Davis
>>
>> --
>> Phil Davis
>> 503-307-4363
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
--
Phil Davis
503-307-4363
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list