Welcome! Log In Create A New Profile

Advanced

WB22 - Structured Array Search

WB22 - Structured Array Search
September 06, 2018 07:53PM
Hi All

Looking for some guidance on sorting a structured array and then seeking the array. This is what I have right now.

For sort:

ArraySort(arrMyStructure,asMember,"FirstElement;SecondElement")

And to seek:

ArraySeek(arrMyStructure,asLinearFirst,"FirstElement;SecondElement",MyFirstElementSeekValue,MySecondElementSeekValue)

Is this correct? I do not want to chase my tail with this.

Cheers

André
Re: WB22 - Structured Array Search
September 06, 2018 08:30PM
Looks good to me, compared to code I have thumbs up

Arie
Re: WB22 - Structured Array Search
September 06, 2018 10:02PM
Thanks Arie.

Confirmed that it is working well.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: