Re: LC Server - Check for Screen size?

2021-03-21 Thread matthias rebbe via use-livecode
Hi Rick, here's a sample with some put commands and comments for better understanding. " -- the cookie does not exists or is empty, so we now executing JS, but -- the following closing tag is mandatory, otherwise the js is not executed ?> let screenwidth = (screen.availWidth);

Re: LC Server - Check for Screen size?

2021-03-21 Thread Rick Harrison via use-livecode
Hi Matthias, Thanks! Rick > On Mar 21, 2021, at 7:51 AM, matthias rebbe via use-livecode > wrote: > > Hi Rick, > here's a sample with some put commands and comments for better understanding. > -- read Cookie screeres if available > put $_COOKIE["screenres"] into tScreenRes > > if

Re: numberformat question

2021-03-21 Thread Sean Cole (Pi) via use-livecode
Livecode can handle floating point numbers up to 2^52. But then calculations would have to fit within that range in a floating point perspective too. So, once you add that ninth zero to the end of your divider, it struggles with the calculation and returns, effectively, number out of range.

Re: numberformat question

2021-03-21 Thread jbv via use-livecode
Paul, Sean, Thank you both for your answers, although it doesn't really solve my problem. The most surprising thing is that javascript runs these calculations without problem : (-0.007347880794884118999 / 10) returns -7.347880794884119e-16 (-0.007347880794884118999 /

About the project - Team-xapi-in-LiveCode

2021-03-21 Thread Brian K. Duck via use-livecode
Tom, Sorry for the delayed response. We’ve launched this project in support of the Spring 2021 xAPI Cohort, details on this free 12-week educational activity focused on the Experience API are available at xAPICohort.com, and it’s not too late to signup for the free learning sessions which