Skip to content

Instantly share code, notes, and snippets.

@nanonum
Created December 5, 2015 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nanonum/736f15c8f326c03d3eff to your computer and use it in GitHub Desktop.
Save nanonum/736f15c8f326c03d3eff to your computer and use it in GitHub Desktop.
init data
Data d(4);
History flag(0);
if(!flag){
poke(d, 0, 0);
poke(d, 1, 1);
poke(d, 0, 2);
poke(d, 1, 3);
flag = 1;
}
out1 = peek(d, counter(1, 0, 4));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment