problem with declaring array

here is the code:

var LO : CLoadObjects[]=new CLoadObjects[4];    
LO[0].sLabel="SS class";

CLoadObjects is the data container class and one of its objects is the sLabel:String what am i doing wrong?

Your array is empty - you need to fill it with your custom class, e.g:

for (var i = 0; i < LO.Length; ++i)
{
    LO *= new CLoadObjects();*
*}*
*```*