That very situation is why there is a DATA command It lets you define all your numbers at the bottom of the code RESTORE @MYDATA FOR loop to go through every item and use READ R,G,B and any other variables at the bottom of the code: @MYDATA DATA 1,2,3,4,"A",5,6,4,3,7,345,583 DATA 4,6,6,7,4,3, blah blah blah ... ... DATA -1 (you also need a way for it to know when to stop), in this case its -1