you will need to read and write to a file,I've tried this and it doesn't seem to want to keep the variable. Is it possible for it to write the previous variable to a table/function/etc. I am trying to get this code to be able to have a small as possible frame quarry but have it moving in an ever expanding square.
Is it possible to keep track of redstone output/input amounts then add a +1 with steves factory manager? I am infinitely better at SFM than I am with computer craft.
when a frame moves a computer it reboots it so you need to write a file before moving with info about where in the pattern you are and then read it on startup to resume