Alan, thanks for your two messages. II’m doing most of what you suggest (not
using accuracy so far, but the prudent person probably should do!), but
nevertheless I would like to emulate my fitness app example. I have apps that
positively know when they have acquired a meaningful GPS signal, wher
Folks, I’m finding it difficult to search the lessons and the LC Guide to get
really simple info, so forgive me for these grossly newbie questions:
1. In the IDE, the ‘Align Selected Controls’ menu item doesn’t allow all
possible combinations of alignment, particularly aligning horizontal
Hi Graham
So, how do you define a "meaningful" GPS signal?
The GPS data you'll receive from locationChanged messages may have nothing for
1-n messages at the start, followed by an increasingly accurate number of
messages (as measured by the "horizontal accuracy" and/or "vertical accuracy"
data
I’m sending this again because some strange text appeared in my message the
first time. Don’t know how it go there!
Folks, I’m finding it difficult to search the lessons and the LC Guide to get
really simple info, so forgive me for these grossly newbie questions:
1. In the IDE, the ‘Align Selec
On 26/04/2020 13:11, Graham Samuel via use-livecode wrote:
2. I’ve not had to use LC arrays much, at least not ones containing my own
data. The description of arrays is somewhat scattered throughout the lessons
and the Guide, and I failed to find a thorough treatment of the whole idea of
arra
On 26/04/2020 13:11, Graham Samuel via use-livecode wrote:
1. In the IDE, the ‘Align Selected Controls’ menu item doesn’t allow all
possible combinations of alignment, particularly aligning horizontal and
vertical centres; nor does it allow alignments in relation to the stack
dimensions. I th
Sorry for sending 3 replies - but I don't know when I will run out of
time, and wanted to get some sent before the oven demands attention :-)
On 26/04/2020 13:11, Graham Samuel via use-livecode wrote:
3. I can’t work out if you can construct an array using the IDE, i.e. prior to
actually execu
Hi Graham,
someone called my name? :-D
> Am 26.04.2020 um 14:11 schrieb Graham Samuel via use-livecode
> :
>
> I’m sending this again because some strange text appeared in my message the
> first time. Don’t know how it go there!
>
> Folks, I’m finding it difficult to search the lessons and th
On 26/04/2020 13:28, Klaus major-k via use-livecode wrote:
I was thinking for example of an array of constants (really strings) which
could be written into my script. Again, if that’s possible I don’t know how. It
seems odd to have to do something like convert lists of constants into array
f
Yes, thanks! That’s exactly what I was hoping for. I know that LC is strictly a
real-time interpreter of a script rather than a compiler -> runtime system, but
nevertheless it would be more comfortable to allow a better range of constants.
Right now you can’t even write
constant K= 2/3
and get
Thanks, see my other replies. Three questions deserve three replies - I hope
the cooking went well.
Graham
> On 26 Apr 2020, at 14:27, Alex Tweedly via use-livecode
> wrote:
>
> Sorry for sending 3 replies - but I don't know when I will run out of time,
> and wanted to get some sent before
Thanks Alex, I just missed it! I knew it was there somewhere… have written to
Klaus about it too.
Graham
> On 26 Apr 2020, at 14:21, Alex Tweedly via use-livecode
> wrote:
>
>
> On 26/04/2020 13:11, Graham Samuel via use-livecode wrote:
>> 1. In the IDE, the ‘Align Selected Controls’ menu it
Thanks Klaus, you are very patient with my stupid questions, as is Alex.
In general I am looking for ways to define stuff in the IDE to create objects
and align them etc during the design phase, rather than make such essentially
static things happen at run time. It seems silly to have to run a
On 4/26/20 9:21 AM, Graham Samuel via use-livecode wrote:
Yes, thanks! That’s exactly what I was hoping for. I know that LC is strictly a
real-time interpreter of a script rather than a compiler -> runtime system, but
nevertheless it would be more comfortable to allow a better range of constant
I have posted SivaSiva app to Google Play.
Problem: from the stats we see lots of new users, and then in a few days, those
same users are "lost"
I see
Crashes & ANRs
113 # in the last few days
"Number of times your app crashes or served an Application Not Responding
errors".
SivaSiva acc
When I need a calculated constant I use a script local variable instead and
populate its content on preopencard or preOpenStack. After that its
available just as a constant would be.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On April
I have a very long string.
In the middle-end part of the string I have “(x)” where x represents some
integer.
it could be (4) or (10) or (5) etc.
I just want to replace the number inside the () with whatever other number I
need to.
I have been trying to find an easy way to do this. Ideally a
On Apr 26, 2020, at 11:24 AM, Rick reasoned
> In the middle-end part of the string I have “(x)” where x represents some
> integer.
> it could be (4) or (10) or (5) etc.
If you’re certain that this is the only, or even the first, integer, a regular
expression search and replace or [0-9]+ woul
"globals are evil"
But we use one array
Global gConfigA
and we stuff it with all manner of "things" including another arrays
it turns about to quite useful
On 4/26/20, 8:11 AM, "use-livecode on behalf of J. Landman Gay via
use-livecode" wrote:
When I need a calculated constant I use
Or, more oil-fashioned, and again assuming that the integer in question is
always the very first one in parentheses:
on mouseUpput random(99) into char offset("(",yourString) + 1 of yourStringend
mouseUp
You will get tired of running this after only a few invocations.
Craig
-Original Message
Pay no attention to the previous post, which only dealt with a single integer.
Sloppy.
THIS old fashioned method works, though:
on mouseUpput offset("(",yourString) into startCharput offset(")", yourString)
into endCharput random(999) into char (startChar + 1) to (endChar -1) of
yourStringend mo
Try as I might, I cannot format a handler example copied from the SE. The
result is always run-on, even though I add spaces and returns where
appropriate. The text seems readable when I send, but reverts to a run-on
string when I read in the list.
Why is this so much more difficult than the foru
On 4/26/20 12:09 PM, Sannyasin Brahmanathaswami via use-livecode wrote:
"globals are evil"
But we use one array
Global gConfigA
and we stuff it with all manner of "things" including another arrays
it turns about to quite useful
Yes, I do what you and Jacque do as a workaround, of course. I
The app I’m developing runs continuously once launched, recording quantities
such as the elepsed time and sensor data. In the version I’ve managed to load
into my phone (thanks, Panos!) it does this quite efficiently, but if the phone
locks or another app is launched, my app stops running and ap
Folks:
I think Graham is doing LiveCode a favor by pointing out some of the ways a
newby (even though he isn’t) might get messed up when learning LiveCode. We all
get used to various approaches and newbies (even tho Graham isn’t) alert us to
impediments for that very vital population of potentia
In the past Richard Gaskin posted some info about Livecode
and its position in some programming ratings. One of the
top languages was C and it appears the ratings are based
on search results.
If you are really concerned about Livecode ratings then you
can change them by posting C or other code th
Thanks for the suggestions!
I was hoping that perhaps there was a very simple one liner or character that
would do it for me.
I think I have a solution now.
Rick
> On Apr 26, 2020, at 3:15 PM, dunbarx--- via use-livecode
> wrote:
>
> on mouseUpput offset("(",yourString) into startCharput of
On 4/26/20 4:43 PM, Graham Samuel via use-livecode wrote:
I notice in the Standalone Settings for iOS in LC 9.5.1, a button ‘Background
Execution’. If I click it, I get a warning that I don’t really understand which
suggests that LC doesn’t officially support the feature. I’m not even sure if
On 4/26/20 2:20 PM, dunbarx--- via use-livecode wrote:
Try as I might, I cannot format a handler example copied from the SE. The
result is always run-on, even though I add spaces and returns where
appropriate. The text seems readable when I send, but reverts to a run-on
string when I read in t
On 4/26/20 1:24 PM, Rick Harrison via use-livecode wrote:
In the middle-end part of the string I have “(x)” where x represents some
integer.
it could be (4) or (10) or (5) etc.
I just want to replace the number inside the () with whatever other number I
need to.
If there is only a single ins
On 2020-04-27 07:25, J. Landman Gay via use-livecode wrote:
On 4/26/20 4:43 PM, Graham Samuel via use-livecode wrote:
I notice in the Standalone Settings for iOS in LC 9.5.1, a button
‘Background Execution’. If I click it, I get a warning that I don’t
really understand which suggests that LC do
> Le 27 avr. 2020 à 08:37, J. Landman Gay via use-livecode
> a écrit :
>
> On 4/26/20 1:24 PM, Rick Harrison via use-livecode wrote:
>> In the middle-end part of the string I have “(x)” where x represents some
>> integer.
>> it could be (4) or (10) or (5) etc.
>> I just want to replace the nu
32 matches
Mail list logo