This is my panel script:

PANEL* scorePan =
{
digits(300,10,"Score %f",Arial#15,1,score);
flags = VISIBLE;
}

When I did scorePan.flags |= VISIBLE; instead of flags = visible; I get an error saying scorePan is not a valid keyword.

I tried scorePan.flags |= VISIBLE; in my main function but i also got the same error.