Please help!!
when I call this function:
function MainMenu()
show mouse
set current bitmap 0
set display mode 1024,768,16
do
paste image 2,0,0
Button(Screen width()/2,screen height()/2,"New Game",rgb(0,0,255),rgb(255,255,0),"Eras Bold ITC",26,1)
Button(Screen width()/2,screen height()/2-50,"Load Game",rgb(0,0,255),rgb(255,255,0),"Eras Bold ITC",26,2)
Button(Screen width()/2,screen height()/2-50,"Options",rgb(0,0,255),rgb(255,255,0),"Eras Bold ITC",26,3)
Button(Screen width()/2,screen height()/2-50,"Exit",rgb(0,0,255),rgb(255,255,0),"Eras Bold ITC",26,4)
if CheckButton(1)=1 then NewGame()
if CheckButton(2)=1 then LoadGameMenu()
if CheckButton(3)=1 then OptionsMenu()
if CheckButton(4)=1 then end
if upkey()=1 then inc HighlightNo
if downkey()=1 then dec HighlightNo
if HighlightNo>4 then HighlightNo=0
if HighlightNo<0 then HighlightNo=4
for ButtonNo=1 to 4
if mousex()>x1(ButtonNo) and mousex()<x2(ButtonNo) and mousey()>y1(ButtonNo) and mousey()<y2(ButtonNo) then HighlightNo=ButtonNo
next ButtonNo
for x=1 to 4
if HighlightNo<>x
Highlight(x)=0
else
Highlight(HighlightNo)=1
endif
next x
sync
loop
endfunction
it comes up with "error image does not exist at line 192"(the paste image line)
I do not know why as i have loaded the image like this:
load image "Title Page.JPG",2
Can somebody help me please? any help greatly appreciated
Edit: sorry forgot to mention i was using DBPro