int straightSelection(String[] data, String value): #header
  if (array is null) #ifNull
    return -1;
  set nrElems = length of array; #getArrayLength
  set loop counter i = 0; #installMarker
  while (i is less then nrElems and array element i != value): #whileLoop
    increment i; #moveMarker
  
  if i is less then nrElems: #outerIf
    return i as the position of the element; #return value
  return -1; #notFound