Hi i really need help with panels using Lite-C free edition. i am a begginner programmer so pleas dont throw random code at me i really want to try get my head around everything best i can

erm ok so the problem im having is that although in the past i have used c-script and created panels with ease i just cant do it in lite-c. ill give you an example of a piece of code i used to do:
bmap random_image = "random_image.bmp";
panel random_panel
{
bmap = random_image;
layer = 1;
flags = overlay, visible;
}
function main()
{
level_load("level1.wmb";
wait(3);
sleep(10);
random_panel.visible = off;
sleep(10);
random_panel.visible = on;
}
so thats easy enough (hopefully that code is right just did it off top of my head).
but with lite-c im having to do this:
PANEL first_pan = // why is there an "=" sign?
{
bmap = "grass.bmp";
pos_x = 0;
pos_y = 0;
layer = 1;
flags = VISIBLE;
}
my first [problem is that the grass bitmap (64x64) is not appearing on the screen at all. (ive tried using the SHOW flag too).
function main()
{
first_pan =.visible = on;
etc etc...
}
how can i call the panel in functions like this? taking away the = sign doesnt solve the problem as it keeps telling me it is an unidentified identifier.
sorry about the length of this esspecially as there is probably a simple solution lol but yeah thanks in advance
