Is "PAUSE 0" a valid command
Hi All,
Subject says it all really.
I am just wondering if ZERO is a valid value for the PAUSE command or whether ONE is the minimum allowable delay.
I want to have an adjustable delay whilst I develop some code so that I can slow things down to observe what is happening but I want to be able to run the code at as close to real speed as possible.
I realise that if ZERO is a valid value it would still take a few microseconds to complete but that is still much faster than a 1mS delay.
If ZERO isnt a valid value then I will use a GOSUB and have something like this...
Code:
Gosub WasteSomeTime
WasteSomeTime:
If DebugDelay = 0 then
return
Else
PAUSE DebugDelay
Endif
return
Thanks
Keith
www.diyha.co.uk
www.kat5.tv
Bookmarks