Hi All
First post, so go easy if its a silly question
I have an array declared (List) and I want to find a match in my Array and then store the 3 item that follows it in variables
ArrayFind>List,searchString,nIndex,0
Let>nIndex=nIndex+1
Let>strA=List_nIndex
Let>nIndex=nIndex+1
Let>strB=List_nIndex
Let>nIndex=nIndex+1
Let>strC=List_nIndex
This works just fine but I was wondering if its possible to somehow get these two lines combined into one?
Let>nIndex=nIndex+1
Let>strC=List_nIndex
Tried all kinds of combinations of experessions but nothing seems to yield a good result.
Array reading
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7380
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Array reading
No, but it should be:
Let>nIndex=nIndex+1
Let>strC=List_%nIndex%
Let>nIndex=nIndex+1
Let>strC=List_%nIndex%
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?