< previous page page_615 next page >

Page 615
0615-01.gif
Figure 11-10
firstList Array
Compare Lists (In: firstList, length; Inout: dataFile, allOK)
FOR counter going from 0 through length-1
  Read number from second list
  IF numbers not the same
      Set allOK = FALSE
      Print both numbers

Numbers Not the Same Level 2
number != firstList[counter]

Print Both Numbers
Print firstList[counter], number

Because the last two modules are only one line each, they are coded directly in the Compare Lists module.

 
< previous page page_615 next page >