Thanks for all your help
I hope i have got it right
do
start()
ink 0,255: cls rgb (255,255,255)
cp = int (rnd(99)+1)
set text size 12
if cp >=1 and cp =<50 then load bitmap "pc1.bmp",0:cargo():ink rgb(0,0,0),rgb(255,255,255):set text size 16:text 8,233,"PASSENGERS": TEXT 120,235, "NO PASSENGERS AVAILABLE":con=1
if cp >=51 and cp =<70 then load bitmap "pc1.bmp",0:pass(): set text size 30:text 22,18, "CARGO":set text size 16: TEXT 155, 10,"NO CARGO AVAILABLE": con = 1
if cp >=71 and cp =<90 then LOAD BITMAP "PC1.BMP",0:cargo():pass(): con=1
if cp >=91 and cp =<100 then load bitmap "pc2.bmp",0:charter(): con=1
wait 750
repeat
until mouseclick()=1
if con=1 then load bitmap "es1.bmp": extra():con=0: region(): WAIT KEY: END
loop
I did have the create bitmap 1, 640,480 on the line with the IF just before i loaded bitmap "es1.bmp" BUT i trued it there and then on it,s own line but with no luck!!!
hope you can help
AND BY THE WAY I KNOW I KNOW THE WAY I HAVE PROGRAMMED THE ABOVE IS BAD BUT IT HAS BEEN YEARS (WELL ZX SPEC) SINCE I HAVE DONE ANY LOL