Examine backward

Does anybody have an example of an examine backward starting from and ending at a specific point. I have tried everything, but can not get it going. Obviously, I have not tried the correct way.

I have an index of (a100/*). Depending on where the cursur is postioned, it should find the previous position of a given search value. Options are - First, Next, Previous and Last.

Can you provide an example, or describe what you are trying to achieve ?

I have an index of (a100/*). Depending on where the cursur is postioned, it should find the previous position of a given search value. Options are - First, Next, Previous and Last.

The direction applies to how the string is examined, not to the occurrences of the array. Each occurrence will be examined from back to front, but the occurrences will be processed from 1 to *. Try something like


FOR #I = [i]current[/i] 1 -1
  EXAMINE DIRECTION BACKWARD array (#I) ...