Your post beat my last one. But now I have something weird. Before, when I assigned labels to the images, I originally tried a global command in the fuction to make them global. But Blitz said I had to declare global variables in the main program and gave no other complaints. I meant to try declaring the label variables as global first to see if that would do the trick, but ... duh ... I forgot.
When I try this correction now, I get the same error anyway! But when I do it in debug mode, I get a picture without errors of any kind. (?) Weird. The only thing is that I expected the program to wait for me to hit a key before ending, which it isn't. Maybe Waitkey() doesn't work as I thought?
I'll keep playing with it before I post again. :-)
IsaacJ
When I try this correction now, I get the same error anyway! But when I do it in debug mode, I get a picture without errors of any kind. (?) Weird. The only thing is that I expected the program to wait for me to hit a key before ending, which it isn't. Maybe Waitkey() doesn't work as I thought?
I'll keep playing with it before I post again. :-)
IsaacJ