Re: Installing LC on Ubuntu?

2023-09-03 Thread harrison--- via use-livecode
Hi Mark, Thanks, I found that worked. I was misled by the old LiveCode lesson. Rick > On Sep 3, 2023, at 2:42 PM, Mark Wieder via use-livecode > wrote: > > After setting the executable bit you should be able to just double-click the > installer in the Downloads folder. Best to install for j

Re: Installing LC on Ubuntu?

2023-09-03 Thread Mark Wieder via use-livecode
On 9/3/23 11:18, harrison--- via use-livecode wrote: Hi there, I have been trying to install LiveCode on the latest “Jellyfish” version of Ubuntu by following the directions provided by LiveCode lesson: https://lessons.livecode.com/m/2571/l/148050-installing-livecode-on-linux I have found this

Installing LC on Ubuntu?

2023-09-03 Thread harrison--- via use-livecode
Hi there, I have been trying to install LiveCode on the latest “Jellyfish” version of Ubuntu by following the directions provided by LiveCode lesson: https://lessons.livecode.com/m/2571/l/148050-installing-livecode-on-linux I have found this lesson is now out of date and I am unable to successfu

Re: Sorting by item ... of each and item ... of each

2023-09-03 Thread matthias rebbe via use-livecode
Hello Mark, thanks for explanation and also for your solution. I will try. Maybe i should get my book "regular expressions" from Jeffrey E.F.Friedl from the shelf and should finish reading it, so i could make use of regular expressions in Livecode more often. Regards, Matthias > Am 03.09

Re: Sorting by item ... of each and item ... of each

2023-09-03 Thread matthias rebbe via use-livecode
Thanks Panos, you are right. ;) While reading your answer i remembered that i have done this with 2 separate sorts. I really don't know how i thought to use by sortKey1 and sortKey2 But at least the script editor did not return an error. Should not work so late in the night. Matthias > Am

Re: Sorting by item ... of each and item ... of each

2023-09-03 Thread matthias rebbe via use-livecode
Thanks Phil, i will try. > Am 03.09.2023 um 07:22 schrieb Phil Davis via use-livecode > : > > I believe this works: > > on mouseUp >put fld 1 into tList >sort lines of tList by _sortKey(each) >put tList into fld 2 > end mouseUp > > > function _sortKey pLine >

Re: Sorting by item ... of each and item ... of each

2023-09-03 Thread Mark Waddingham via use-livecode
On 2023-09-03 10:26, panagiotis m via use-livecode wrote: Hello Matthias, I do not think that the syntax "sort by sortKey1 and sortKey2" is supported Heh technically it 'is' - and does do something but it won't be what you expected... So the syntax for sort in this case is: sort by

Re: Sorting by item ... of each and item ... of each

2023-09-03 Thread panagiotis m via use-livecode
Hello Matthias, I do not think that the syntax "sort by sortKey1 and sortKey2" is supported If you have multiple sortKeys, you have to do multiple sorts, for example, in your use case, this should work: set the itemdel to ";" sort lines of tList numeric by item 3 of each sort lines of tList num