de
> Sent: Friday, April 27, 2018 10:51 AM
> To: How to use LiveCode
> Cc: Bob Sneidar
> Subject: Re: Q on Accessing multi-dimension arrays.
>
> Fettling! I'm going to start using that!
>
> fet·tle
> ˈfedl/
> verb
> gerund or present participle: fettling
lf Of
Bob Sneidar via use-livecode
Sent: Friday, April 27, 2018 10:51 AM
To: How to use LiveCode
Cc: Bob Sneidar
Subject: Re: Q on Accessing multi-dimension arrays.
Fettling! I'm going to start using that!
fet·tle
ˈfedl/
verb
gerund or present participle: fettling
• trim or clean
Fettling! I'm going to start using that!
fet·tle
ˈfedl/
verb
gerund or present participle: fettling
• trim or clean the rough edges of (a metal casting or a piece of
pottery) before firing.
Apparently appropriate as well. Pronounced like feddle, likely where we get our
fiddle with. And
Which reminds me - the tree view widget should probably use the list form
of a path directly instead of fettling with a path delimiter property
On Fri, Apr 27, 2018 at 12:26 AM Alex Tweedly via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Thanks Brian, Bernd, and everyone else.
>
> When
Thanks Brian, Bernd, and everyone else.
When I first saw it (in the form described in Brian's email), I thought
- hmmm, not sure when anyone would use that.
Then I saw an example using split (as described in Bernd's email), and
thought - maybe I can use that some day. :-)
Well - the day has
Dick Kriesel to the rescue again! Thanks for that background.
Comforting to know it's not merely an anomaly, but a well-considered
design decision.
It's such a cool thing to be able to do. It will change many algos here...
--
Richard Gaskin
Fourth World Systems
Dick Kriesel wrote:
On Apr
On Thu, Apr 26, 2018 at 11:58 AM, Mike Bonner via use-livecode <
use-livecode@lists.runrev.com> wrote:
> I had no clue you could do that! Thank you!
>
Yeah, but if you're doing any level of *serious* matrix multiplication,
there's no substitute for Fortran: it's a basic feature of the language.
On 04/26/2018 10:17 AM, Niggemann, Bernd via use-livecode wrote:
> If I understand correctly that you want then
>
> -
> put "style,hidden" into tPathToHidden
> split tPathToHidden by comma
>
> put "true" into tScriptA[i][tPathToHidden]
>
> lets you
> On Apr 26, 2018, at 12:14 PM, Brian Milby via use-livecode
> mailto:use-livecode@lists.runrev.com>> wrote:
>
> tPath can also be thought of as a (proper) list which makes a little more
> sense. Mark W would need to answer the why.
The following excerpts provide a quote from Mark W:
> On Mar
As long as this (undocumented?) anomaly exists, might as well put it to
good use - this is a step toward xPath-like functionality for array queries:
on mouseUp
-- Load array:
put "something" into tA["this"]["is"][1]["path"]
--
put PathQuery("this/is/1/path", tA)
end mouseUp
function
tPath can also be thought of as a (proper) list which makes a little more
sense. Mark W would need to answer the why. Not sure I could deduce it from
the source all that quickly.
On Thu, Apr 26, 2018 at 2:08 PM Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Mike Bonner w
Mike Bonner wrote:
> I had no clue you could do that! Thank you!
>
> On Thu, Apr 26, 2018 at 8:43 AM, Brian Milby via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
>> on mouseUp
>>put "answer" into tA["firstkey"]["secondkey"]
>>put "firstkey" into tPath[1]
>>put "second
I had no clue you could do that! Thank you!
On Thu, Apr 26, 2018 at 8:43 AM, Brian Milby via use-livecode <
use-livecode@lists.runrev.com> wrote:
> on mouseUp
>put "answer" into tA["firstkey"]["secondkey"]
>put "firstkey" into tPath[1]
>put "secondkey" into tPath[2]
>put tA[tPath
Alex Tweedly wrote:
> I have a multi-dimension array, say created by
>
> put "answer" into tArray["firstkey"]["secondkey"]
>
> Is there some way or format to specify the array elements using the
> "path" of the keys, rather than each one at its own level) ?
>
> i.e. something like (but obviously
Alex Tweedly wrote:
>Is there some way or format to specify the array elements using the
>"path" of the keys, rather than each one at its own level) ?
If I understand correctly that you want then
-
put "style,hidden" into tPathToHidden
split tPathToHidden by comma
put
April 26, 2018 10:17 AM
> To: How to use LiveCode
> Cc: Alex Tweedly
> Subject: Q on Accessing multi-dimension arrays.
>
>
> I have a (vague) memory that there is some way to do this ... but can't
> remember and haven't had any luck searching for it
>
>
ector
Evergreen Information Services
rdim...@evergreeninfo.net
-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of
Alex Tweedly via use-livecode
Sent: Thursday, April 26, 2018 10:17 AM
To: How to use LiveCode
Cc: Alex Tweedly
Subject: Q on Accessing
on mouseUp
put "answer" into tA["firstkey"]["secondkey"]
put "firstkey" into tPath[1]
put "secondkey" into tPath[2]
put tA[tPath]
end mouseUp
On Thu, Apr 26, 2018 at 9:16 AM, Alex Tweedly via use-livecode <
use-livecode@lists.runrev.com> wrote:
>
> I have a (vague) memory that there i
I have a (vague) memory that there is some way to do this ... but can't
remember and haven't had any luck searching for it
I have a multi-dimension array, say created by
put "answer" into tArray["firstkey"]["secondkey"]
Is there some way or format to specify the array elements using th
19 matches
Mail list logo