The sample Pascal program is shown in fig. 7. The image
tbles: input,output and internal are implemneted using
Pascal Boolean variables. When any of these variables is TRUE, that
represents an ON state; and when they are FALSE that represents an
OFF state. When exchanging signals with the input and output points
an ON state is represented by a logical "0" and an OFF state with a
logical "1"..