<pre>function lineArray values   -- convert a mixed list to an array of lines.  put empty into array  repeat with i = 1 to the number of lines in values    put line i of values into valueLine    repeat with j = 1 to the number of items in valueLine      put item j of valueLine into valueItem      repeat with k = 1 to the number of words in valueItem        put word k of valueItem & return after array      end repeat    end repeat  end repeat  return arrayend lineArray</pre>