I'm anticipating the need to connect an iOS app with a companion desktop
app so the desktop app can get data from the mobile app and do some
reporting and recordkeeping. It should also be able to transfer data
back to the mobile app. Does anyone have an example of how to make that
happen? I can
It's looking to be a Windows only issue. I need to see how far this goes
back and then I'll post a bug report. It's making a process that should
only take 30s max on a single thread 2GHz remote Win server take 16mins to
process 2 of these files, so it will be good to find a solution for this.
Than
On 3/9/21 10:02 AM, HENRY LOWE via use-livecode wrote:
put "data" into tArray["key1"]["key2"]; answer tArray["key1”] is an array -
returns TRUE (so not helpful)
Not sure why this isn't helpful. Of course it's an array.
And tArray["key1"]["key2"] is *not* an array and contains the value.
None
If (not(tArray[“status”] is an array)) and (tArray[“status”] is not empty) then
-- ***tArray[“status”] is not an array and is not empty.
As MW said empty is technically a value.
If you want to know if tArray[“status”] exists and is a value (empty or not)
then this should work:
If (“status” is am
Try this:
put tArray[“status”][“text”] into tStatus
If tStatus is empty then
Put tArray[“status”] into tStatus
End if
Sent from my iPhone
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe an
Thanks to all for your excellent discussion and suggestions.
To briefly restate the problem:
If tArray[“status”] does not contain a value
and
If tArray[“status”][“text”] contains a value
How do I determine if tArray[“status”] contains a value?
In the message box:
put "data" into tArray["k
LC 9.6.1 Win 10 VM on SSD.
524 ms,512 ms, 3.28 minutes
Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net
-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Sean Cole (Pi) via use-livecode
Sent: Tuesday, March
Thanks to all for your excellent discussion and suggestions.
To briefly restate the problem:
If tArray[=E2=80=9Cstatus=E2=80=9D] does not contain a value
and
If tArray[=E2=80=9Cstatus=E2=80=9D][=E2=80=9Ctext=E2=80=9D] contains a =
value
How do I determine if tArray[=E2=80=9Cstatus=E2=80=9D]
I got
248
393
257
also on a Mac
Tore Nilsen
> 9. mar. 2021 kl. 18:40 skrev Sean Cole (Pi) via use-livecode
> :
>
> Extraordinary. Thanks Alex. This is helpful. This is on windows and a
> windows server. I will try on a Mac and Linux and see if it has the same
> issue.
>
> Sean
>
> On Tu
Extraordinary. Thanks Alex. This is helpful. This is on windows and a
windows server. I will try on a Mac and Linux and see if it has the same
issue.
Sean
On Tue, 9 Mar 2021 at 17:25, Alex Tweedly via use-livecode <
use-livecode@lists.runrev.com> wrote:
>
> On 09/03/2021 16:56, Sean Cole (Pi) vi
I get 483, 4325, 4280. It actually takes less time for me.
Bob S
> On Mar 9, 2021, at 9:25 AM, Alex Tweedly via use-livecode
> wrote:
>
>
> On 09/03/2021 16:56, Sean Cole (Pi) via use-livecode wrote:
>> Hi all,
>>
>> I have a tsv I split out as an array, process, then combine back to a tsv
If “item” is among the lines of the keys of tDataA and tDataA [“item”] is empty
then --it's an array key with an empty value.
Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net
-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.
On 09/03/2021 16:56, Sean Cole (Pi) via use-livecode wrote:
Hi all,
I have a tsv I split out as an array, process, then combine back to a tsv.
The tsv is 53MB (55,635,198 bytes) and has 228320 lines with 21 columns
(55406878 chars).
To load the tsv file : 434ms
To split the tsv to array : 506
The trouble is, if tDataA [“item”] variable does not exist, that is it is not
an array, you will still get empty.
Bob S
On Mar 8, 2021, at 9:16 PM, Phil Davis via use-livecode
mailto:use-livecode@lists.runrev.com>> wrote:
When I want to determine whether or not an array element contains
non-
Hi all,
I have a tsv I split out as an array, process, then combine back to a tsv.
The tsv is 53MB (55,635,198 bytes) and has 228320 lines with 21 columns
(55406878 chars).
To load the tsv file : 434ms
To split the tsv to array : 506ms
To combine the array to a tsv : 2m 58s 214ms
Why does it tak
You might also want to make use of the 'strictly' keyword in case there are
any nested arrays in your base array. Your use case may not venture that
far but it is maybe worth just applying it anyway.
*put* (atest is strictly an array)
Sean
On Tue, 9 Mar 2021 at 16:09, Sean Cole (Pi) wrote:
> *
On 3/8/21 9:16 PM, Phil Davis via use-livecode wrote:
When I want to determine whether or not an array element contains
non-whitespace, I usually say:
if word 1 of tDataA["item"] is empty then ... (or is NOT empty)
The problem with that is that it doesn't differentiate between an empty
*put* empty into atest["test1"];
*put* 1 into atest["test2"];
*put* 3 into atest["test3"]["test3.1"];
*put* (atest is an array) , (atest["test1"] is an array) , (atest["test2"]
is an array) , (atest["test3"] is an array)
true,false,false,true
Seems fine to me.
Sean
_
Er, I think I have just reached the fourth level of array un-enlightenment.
Wait!…. I can see the cyberverse! SCHLOOOppp!-ting!
> On 3/8/21 5:36 PM, Bob Sneidar via use-livecode wrote:
>> Are you testing for empty, or are you testing if there is a value in an
>> array variable? If there is
19 matches
Mail list logo