MQL4: how to get name of array variable as a string for Print() function

 

Hi guys, 

I have made an generic function with an array parameter.
I call this function with different arrays, works nice...

Except one thing, i want to print status. Within that print, i want to show the array name that was handled on the moment of printing. 

Code snippet of function header: 

int BepaalWaarde(int& array[], string EntExit)
{

for example something like this: Print("Arrayname: ", array[].name); 

 

Thanks for your answers!

 

Kind Regards,

 

Richard 

Reason: