4 added 381 characters in body
source | link
static public int recordings[99999999] = {NULL}

This is not valid C code. Remove the word public.
Also you cannot create such a big array. The Arduino has only 2 KB (SRAM) memory and also since it is static you have to fill it with values directly, like:

static int recordings[5] = { 0, 1, 2, 3, 4 };

How many values you want to store?

In case you need quite a lot (like hundreds), I would use a different solution for the state array as it only stores values 0 or 1. For example, you can use arrays of uint8_t which cost only 1 byte per element, but even better would be to store 8 0 or 1 (boolean) values in one byte each, but that means you have to get/set the values in the correct indices yourself.

static public int recordings[99999999] = {NULL}

This is not valid C code. Remove the word public.
Also you cannot create such a big array. The Arduino has only 2 KB memory and also since it is static you have to fill it with values directly, like:

static int recordings[5] = { 0, 1, 2, 3, 4 };

How many values you want to store?

static public int recordings[99999999] = {NULL}

This is not valid C code. Remove the word public.
Also you cannot create such a big array. The Arduino has only 2 KB (SRAM) memory and also since it is static you have to fill it with values directly, like:

static int recordings[5] = { 0, 1, 2, 3, 4 };

How many values you want to store?

In case you need quite a lot (like hundreds), I would use a different solution for the state array as it only stores values 0 or 1. For example, you can use arrays of uint8_t which cost only 1 byte per element, but even better would be to store 8 0 or 1 (boolean) values in one byte each, but that means you have to get/set the values in the correct indices yourself.

3 deleted 7 characters in body
source | link
static public int recordings[99999999] = {NULL}

This is not valid C code. Remove the word public.
Also you cannot create such a big array. The Arduino has only 2 KB memory and also since it is static you have to fill it with values directly, like:

static public int recordings[5] = { 0, 1, 2, 3, 4 };

How many values you want to store?

static public int recordings[99999999] = {NULL}

This is not valid C code. Remove the word public.
Also you cannot create such a big array. The Arduino has only 2 KB memory and also since it is static you have to fill it with values directly, like:

static public int recordings[5] = { 0, 1, 2, 3, 4 };

How many values you want to store?

static public int recordings[99999999] = {NULL}

This is not valid C code. Remove the word public.
Also you cannot create such a big array. The Arduino has only 2 KB memory and also since it is static you have to fill it with values directly, like:

static int recordings[5] = { 0, 1, 2, 3, 4 };

How many values you want to store?

2 Fixed formatting
source | link

static public int recordings[99999999] = {NULL}

static public int recordings[99999999] = {NULL}

This is not valid C code. Remove the word public. 
Also you cannot create such a big array; thearray. The Arduino has only 2 KB memory and

Alsoalso since it is static you have to fill it with values directly, like:

static public int recordings[5] = { 0, 1, 2, 3, 4 };

How many values you want to store?

static public int recordings[99999999] = {NULL}

This is not valid C code. Remove the word public. Also you cannot create such a big array; the Arduino has only 2 KB memory and

Also since it is static you have to fill it with values directly, like:

static public int recordings[5] = { 0, 1, 2, 3, 4 };

How many values you want to store?

static public int recordings[99999999] = {NULL}

This is not valid C code. Remove the word public. 
Also you cannot create such a big array. The Arduino has only 2 KB memory and also since it is static you have to fill it with values directly, like:

static public int recordings[5] = { 0, 1, 2, 3, 4 };

How many values you want to store?

1
source | link