1. An apparatus for executing a block program comprising: a block table listing a plurality of records corresponding to a plurality of blocks in the block program; a block library for holding a plurality of algorithms associated with said blocks; and, means for executing said blocks in said block program in accordance with said associated algorithms; wherein said executing means selectively executes said blocks in the block program that receives a new input value which is different from a previous input value.