Re: Manipulating parts of a multi-dimensional array

2013-06-16 Thread J. Landman Gay
On 6/16/13 8:07 PM, Monte Goulding wrote: So you want: if there is an element "dog" in tAnimals["mammals"] then Seems like a handy feature Jacque... you really will need to start playing with the engine one of these days ;-) You really don't want to be near me if I ever start learning C. :

Re: Manipulating parts of a multi-dimensional array

2013-06-16 Thread Monte Goulding
On 17/06/2013, at 10:53 AM, J. Landman Gay wrote: > Pretty much, yes. I didn't ask my original question correctly. I want to see > if a particular value is contained in any element at a certain level without > looping through to check each one. Sort of like we can say "if tString > contains "d

Re: Manipulating parts of a multi-dimensional array

2013-06-16 Thread J. Landman Gay
On 6/16/13 6:04 PM, dunb...@aol.com wrote: I think what Jacque wanted was a more direct way to get the elements at any level of a multi-dimensional array. Pretty much, yes. I didn't ask my original question correctly. I want to see if a particular value is contained in any element at a certain

Re: Manipulating parts of a multi-dimensional array

2013-06-16 Thread Dar Scott
I think others have answered this well. Essentially multidimensional arrays are arrays with arrays as elements. x[a][b] = (x[a])[b] However, you might be interested in this enhancement request: Bug 6820 - Pass array element by reference This would allow any level to be passed by reference to u

Re: Manipulating parts of a multi-dimensional array

2013-06-16 Thread dunbarx
I think what Jacque wanted was a more direct way to get the elements at any level of a multi-dimensional array. She certainly knows that, given: on mouseUp put "X" into myArray[a][b][c] put "Y" into myArray[a][b][d] put myArray[a][b] into newArray end mouseUp newArray gives: c

Re: Manipulating parts of a multi-dimensional array

2013-06-16 Thread Jacques Hausser
I'm not sure to understand your question correctly. if your array has four "first level" elements: myArray["a"]myArray["b"] myArray["c"]myArray["d"] and that e.g. myArray["c"] has three "second level" elements myArray["c"]["x"] myArray["c"]["y"]myArray["c"]["z"] which in turn

Re: a *fast* check for whether another machine is on the local network?

2013-06-16 Thread Peter M. Brigham
On Jun 16, 2013, at 10:54 AM, Dr. Hawkins wrote: > You mean, like, on paper? > > :) Well, I was under the impression that court filings have not yet entered the digital age, and I thought that lawyers would be likely to print almost everything for the official record. Unless I can now file for

Re: Manipulating parts of a multi-dimensional array

2013-06-16 Thread dunbarx
Jacque. You are asking for a function "the elements of key[yourKey]" or "the elements of key[yourKey1][yourkey2][yourKey3}" This should be a feature request, like yesterday. Craig -Original Message- From: J. Landman Gay To: LiveCode Mailing List Sent: Sun, Jun 16, 2013 3:27

Re: Manipulating parts of a multi-dimensional array

2013-06-16 Thread Colin Holgate
On Jun 16, 2013, at 3:26 PM, "J. Landman Gay" wrote: > >Suppose I only want to work with [c][x] and all its sub-dimensions. Is there > >an efficient way to extract that into its own array without looping through > >all the [c] keys? Can you borrow b, work on it, then put it back? Like: on m

Manipulating parts of a multi-dimensional array

2013-06-16 Thread J. Landman Gay
I have a big array with lots of dimensions. Sometimes I need to work with a "sub-dimension" only. For example: array[a][b][c][d] Each of those elements contains many other elements: [c][x][y][z] which each contain more elements: [c][x][1][2][3] Suppose I only want to work with [c][x] and a

Re: Using the Find command in IOS

2013-06-16 Thread J. Landman Gay
On 6/15/13 4:22 PM, Howard Bornstein wrote: The dictionary shows that the Find command is supported in IOS, but I can't seem to make it work as described. I want to "find" a string in a scrolling field and have the field scroll automatically to that string. It works fine on the desktop but doesn

Re: [OT] What's happening here in Turkey...

2013-06-16 Thread Richmond
On 06/16/2013 05:13 PM, Ender Nafi wrote: dave, tim and all my dear friends out there; my sincere thanks to all of you... i won't / can' t write long. *last night, they emptied gezi park following erdogan's direct orders. *the attack was brutal as always. find the statements of claudia roth (g

Re: dictionary dream (was [Re: finding the name of the displayed card of stack foo?] )

2013-06-16 Thread Dar Scott
I like the idea. And I like the idea of how it can grow by explicit entries. Maybe that can even be inferred; we can ask the NSA what people were looking for and what they found. Uh, wait, I mean maybe all it takes is a click on a dictionary page that says, this is what I have been recently l

Re: dictionary dream (was [Re: finding the name of the displayed card of stack foo?] )

2013-06-16 Thread Dr. Hawkins
On Sun, Jun 16, 2013 at 5:41 AM, Jacques Hausser wrote: > Hy Mark, > > Thank you for the information. Useful stack ! But it fills my dreams >only partially: it does not give the correct equivalent of "wrong- >but-logical" commands like e.g. "fill field "XXX" with…". And as far >as I can see, it do

Re: a *fast* check for whether another machine is on the local network?

2013-06-16 Thread Dr. Hawkins
On Sun, Jun 16, 2013 at 6:20 AM, Peter M. Brigham wrote: > Somewhat off-topic, but…. Given your target population of laptops >that move around among various wireless networks you might be >interested in these printing routines as well. You mean, like, on paper? :) >I have a set of handlers that

Re: [OT] What's happening here in Turkey...

2013-06-16 Thread Ender Nafi
dave, tim and all my dear friends out there; my sincere thanks to all of you... i won't / can' t write long. *last night, they emptied gezi park following erdogan's direct orders. *the attack was brutal as always. find the statements of claudia roth (german green party), google it, youtube it.

Re: [OT] What's happening here in Turkey...

2013-06-16 Thread paolo mazza
Ender, please let us know if you and your family are OK. I wish you all the best Paolo On Sun, Jun 16, 2013 at 2:29 PM, Dave Kilroy2 wrote: > Ender > > My family and I are also hoping you and yours are OK - we send you > greetings > and best wishes... > > Dave > > > > -- > View this message in c

Re: a *fast* check for whether another machine is on the local network?

2013-06-16 Thread Peter M. Brigham
Somewhat off-topic, but…. Given your target population of laptops that move around among various wireless networks you might be interested in these printing routines as well. I have a set of handlers that will automatically set the default printer to whatever printer is available, either by USB

Re: Truncate Text Based On Available Space?

2013-06-16 Thread Peter M. Brigham
Sorry about chiming it so late on this thread, but I got several days behind in perusing the list. If you use the templatefield then you would first have to set the properties of the templatefield to the properties of the field you are using, right? Which brings us back to the thread about what

Re: dictionary dream (was [Re: finding the name of the displayed card of stack foo?] )

2013-06-16 Thread Jacques Hausser
Hy Mark, Thank you for the information. Useful stack ! But it fills my dreams only partially: it does not give the correct equivalent of "wrong-but-logical" commands like e.g. "fill field "XXX" with…". And as far as I can see, it doesn't (yet ?) allow to extend a list of such "vrong-but-logical

Re: [OT] What's happening here in Turkey...

2013-06-16 Thread Dave Kilroy2
Ender My family and I are also hoping you and yours are OK - we send you greetings and best wishes... Dave -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-What-s-happening-here-in-Turkey-tp4666044p4666539.html Sent from the Revolution - User mailing list arc

Re: dictionary dream (was [Re: finding the name of the displayed card of stack foo?] )

2013-06-16 Thread Mark Schonewille
Hi Jacques, BvG Docu provides full-text search. That should be pretty close to your dream :-) http://bjoernke.com/?target=bvgdocu -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogramm

dictionary dream (was [Re: finding the name of the displayed card of stack foo?] )

2013-06-16 Thread Jacques Hausser
Yes, that's a problem when intuition doesn't correspond to the index of the dictionary… it would be interesting to develop a "maybe you're thinking of…" algorithm for the dictionary ( without clogging the language with synonyms), for example by redirecting toward "real" commands such searches a

Re: [OT] What's happening here in Turkey...

2013-06-16 Thread Tim Selander
Ender, The news coming out of Instanbul doesn't sound good. If you are able, please let us know if you are OK or not. Tim Selander Tokyo, Japan ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscri

Re: selecting without moving

2013-06-16 Thread André Bisseret
Thank you much Jacques for this information. Very useful Up to now, I was unlocking the size and position before moving the controls! André Le 16 juin 2013 à 00:13, Jacques Hausser a écrit : > Dar, > > I'm almost sure you know all that already, and I'm not sure it's the most > elegant way, bu