Search found 6 matches

by Edja
Thu 29 Nov 2018, 14:48
Forum: Miscellaneous
Topic: Leaving the forum (again)?
Replies: 27
Views: 6235

Re: Leaving the forum (again)?

Richard, I have already replied on several occasions in the past how valuable your participation is on the forum. I'm not going to repeat the arguments I presented then. They are all still valid. Statistics about the number of posts and (lack of) response are not really significant given the small s...
by Edja
Sat 25 Aug 2018, 13:58
Forum: Libraries
Topic: SORTLIB of 2D array
Replies: 6
Views: 2449

Re: SORTLIB of 2D array

if I remember correctly, Richard advised me along those lines some 3 years ago In fact this goes back to 2012. I've now found the exchange of information about SORTLIB in https://groups.io/g/bb4w. I've done a search with the term "Multidimensional array sort" . Lots of detailed and useful answers f...
by Edja
Tue 14 Aug 2018, 09:16
Forum: Libraries
Topic: SORTLIB of 2D array
Replies: 6
Views: 2449

Re: SORTLIB of 2D array

Hi D, An alternative is to realize from the start that you want to be able to sort, and set the arrays up with the data in rows in the first place! True and, if I remember correctly, Richard advised me along those lines some 3 years ago and I followed his advice. This time however, the array is the ...
by Edja
Mon 13 Aug 2018, 14:12
Forum: Libraries
Topic: SORTLIB of 2D array
Replies: 6
Views: 2449

Re: SORTLIB of 2D array

Hi D, thanks for the reply. I agree with your views. When the sort-routines were written in assembler, the decision was made to do it based on rows. To do the same based on columns would just be doubling the work, unnecessarily, and perhaps be more complicated (just guessing,I'm not able evaluate th...
by Edja
Mon 06 Aug 2018, 10:59
Forum: Libraries
Topic: SORTLIB of 2D array
Replies: 6
Views: 2449

Re: SORTLIB of 2D array

With some experimenting I've managed to find the answer to my question 2 : "Question 2: Row 0 (array elements A$(0,0) up to A$(0,4) can contain irrelevant data. How to avoid that this row is also taken into the sort. I'm not sure if I need to use the line C% = DIM(B$(),DIM(B$()))+1 or just C% = DIM(...
by Edja
Sun 05 Aug 2018, 09:59
Forum: Libraries
Topic: SORTLIB of 2D array
Replies: 6
Views: 2449

SORTLIB of 2D array

I have some doubts about the way I go about to sort a 2D array. My understanding of the SORTLIB documentation is that the sorting proceeds based on the values in a row of the array. But I want to sort the array based on the content of a column. To do this, I do a transposition of the array so I can ...