newLISP Fan Club

Forum => Whither newLISP? => Topic started by: cameyo on February 01, 2023, 07:06:15 AM

Title: Searching on array
Post by: cameyo on February 01, 2023, 07:06:15 AM
How to search a value in array ?

Use array-list and then find, ref, etc ?
Title: Re: Searching on array
Post by: pda on April 04, 2026, 07:42:46 AM
Using a search algorithm like binary search, probabbly you will need to sort the array previously. Converting the array to a list is not a general solution, I doubt you can convert any array to a list.