*create data set for array example*; data searchfor; input year color; datalines; 2004 1 2005 1 2007 3 2006 2 2004 2 ;