hey, i corrected the code, but now it says there is a problem in "main line 43" (that would be "PANEL* nxthi_panel =" )
BMAP* nxthi_bmp = "nxt_hi.bmp";
BMAP* nxtorange_bmp = "nxtorange.bmp";
function turn_on()
PANEL* nxthi_panel =
{
bmap = nxthi_bmp;
pos_x = 275;
pos_y = 170;
layer = 3;
flags = OVERLAY;
}
PANEL* button_panel =
{
pos_x = 340;
pos_y = 165;
layer = 3;
button(0, 0, nxtorange_bmp, nxtorange_bmp, nxtorange_bmp, turn_on, NULL, NULL)
flags = OVERLAY | SHOW;
}
function turn_on()
{
set(nxthi_panel, SHOW);
}