Writing data into the array and its listing

I need to save the data to the Arduino array() at a certain time delay(500) and then have a second delay time delay(2000) that these data stored in array lists and arrays reset for the new store.

How can I accomplish this?

This not worked:

volatile unsigned long data=0;

double getGust()
{
 unsigned long reading=anem_min;
 data[]=(1/(reading/1000000.0));
 delay(500);
 return data;
}

void loop() { 
  Serial.print(getGust());
  Serial.println("");

  data=0;  
  delay(2000);
}

How can I accomplish this?

Without using delay(), obviously. See the blink without delay example, among others, for some clues.

 data[]=(1/(reading/1000000.0));

Did you even try compiling this nonsense? Why are you trying to create an array containing one value?