Forum

Problem with arrays

Can anyone explain why the following code does not seem to work in a custom indicator ? int start() { int TestArray[]; TestArray[5]=99; Print("T: ",TestArray[5]); return(0); } For some reason it just prints "T: 0" as if the value 99 had never been assigned. What am I doing wrong