void process_lines (pchar -&w array[], int length, int threshold)
{
  ulong needs_processing (pchar chr)
  {
    if (chr)
    {
      if (length (chr) >= threshold) return 1;
      else return 0;
    }
    else
    {
      return 0;
    }
  }

  for (int cntr = 0; cntr < length; cntr ++) 
  {
    if (needs_processing (array[cntr]))
    {
      ...
    }
  }
}
