Search Array

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderator: Klaus

Post Reply
makeshyft
Posts: 221
Joined: Mon Apr 15, 2013 4:41 am
Contact:

Search Array

Post by makeshyft » Sat Oct 18, 2014 4:53 am

Hi Runrev,

A SearchArray function that returns the full array reference of a match.

like

put SearchArray("apple") returns

MyArrayName["Fruits"]["Red Ones"][1]["name of fruit"]

or multiple lines, 1 reference on each line.

I think I will build a function like this anyways..... but if it was built into the engine I am sure it will work much better and faster.

Ty for all the hard work.
Founder & Developer @ MakeShyft R.D.A - https://www.makeshyft.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com

Post Reply