I tried out both solutions at home last night with surprising results. Flashingblade's worked perfectly and is fast enough for me. I only need to produce about 10 simple sprites at a time and a few milliseconds delay is no problem.
With rich's code I got the error message,
SYNTAX ERROR, PARAMETERS DIFFER BETWEEN FUNCTION CALL AND DECLARATION
I notice that rich's code is quite a few weeks old and has probably been tested and tried many times without failure. The cause of the problem might be at my end.
I prefer to download at the school where I work (cheaper and quicker) and this might be a problem. I download to a Mac so I copied rich's text and pasted into a Simple text document, saved on a floppy and loaded as a WordPad document at home, copied the text and pasted into an empty DarkBASIC V1.13 file and ran it getting the above error message.
It may be that all the copying and pasting between programs, systems and discs has lost a character or two of rich's code. Perhaps rich wrote in DB Pro. I am sure that I will move to DB Pro later.
I tried mucking about with the code and got it to compile but I could not get it to result in a circle. As I say though Flashingblade's code is fine for my purpose and I thank you both for your help
On checking the DB website this morning I see that quite a few people have good things to say about rich's code so I am even more convinced that the mistake is at my end.