hi, i finally got my menu done, for the most part. I'm trying to test the button that switches over to a seperate program. It reads it fine, but it says that there is an error in this line.
function turn_on()
{
set(nxthi_panel, SHOW);
}
In its own program it works fine, but once its connected it doesnt. heres the other code.
PANEL* mainbutton1 =
{
bmap = gonorm;
pos_x = 10;
pos_y = 100;
button (0, 0, goclicked, gonorm, goover, robotswitch, NULL, NULL);
flags = OVERLAY | SHOW;
}
function robotswitch()
{
#include"robotshowcase.c";
}
Thanks!