I'm trying now
you 'd beter the set dir command to specify an absolute path... when you want to install your program in another folder it wont work anymore
you can just remove these two commands and place the source files in the same directory, like in the zip file
yes it freezes here too
and the toolbars are flickering all the time...
and after that the screen's black and the mouse shocks like there should be a very slow sync rate (or very very heavy calculations)
i'll have a look to figure out what's the problem...
in a first look I see that you have used functions everywhere, just as a shortcut to a couple of lines of code... normally they use gosubs instead but that's no problem here, its just a bit strange
somewhere I see this rule:
if mouseclick()=1 then checkxyclick()
in the checkxyclick() function description there's this rule:
c=mouseclick()
it's not really necessary to check this again, coz you're sure that mouseclick is one
anywa on very slow pc's it could be already 0 when it reaches that command so it's not always predictable
do
if mouseclick()=2 then goto jumpoutloop1
loop
jumpoutloop1:
the above code shows a very unsafe way to exit a do...loop system
you can just use the exit command to jump out of the loop
I know, it was remmed in your actual code but you might use it later again and such things mostly cause a bug
okay finally I found why it freezes:
somewhere in your checkxyclick() function you have this:
do
cls
paste image 2,tools(1),tools(2)
loop
and your program just stays in that loop...
when I remove the
do and
loop commands your program ends when I click the left mouse button... I suppose you still had to program that?