How to reset the default value of Global variable "Array" inside the function?

 

How to reset the default value of Global Variable Array inside the function?

I use global array to used it in many function but I want to reset it first before using it because I used the global array in different function.

bool x[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL};

void aaa()
{
    x[] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL};    // reset default value
}

 I got error.

 
Take a look at ArrayFill()
 
Also, check ArrayInitialize() and get familiar with all other Array Functions
 
Or (although it is slower) just ArrayResize() to zero then back up to the desired size.
Reason: