Can't use 'waittimer()'

Blitz3D Forums/Blitz3D Beginners Area/Can't use 'waittimer()'

Tobo(Posted 2004) [#1]
Hi, folks. Brand new to Blitz Basic and luvvin' it!

Just finding my feet with it and trying out various things at the moment. One thing I find is that when I try other people's code, it runs way too fast on my machine XP3000.

I've been trying the:

Timer_Frame = CreateTimer(60)
WaitTimer(Timer_Frame)

...method, but it wont format within Blitz and it says FUNCTION 'waittimer' NOT FOUND!

I've done searches and other people's code seems to use it.

What could I be doing wrong?

Many thanks,

Tobo.


BlitzSupport(Posted 2004) [#2]
Have you updated to the latest version, via Account -> Product Updates? I seem to recall it was missing from the original release (assuming Blitz Plus)...


RiverRatt(Posted 2004) [#3]
How about just using a Delay comand at the end of your main
loop? I just tried it in a program I am working on and it
slowed it down fine.
I think I read somewere that the delay comand increases your
system requirments but don't know.


Tobo(Posted 2004) [#4]
Cheers, james. That did the trick.


klasix(Posted 2004) [#5]
Hello James,

Hate to be a pain ..
Applied latest patch and nada .. waittimer() does not work (B+). Cut and pasted example. Does not highlight either.

Take care,
Jim


klasix(Posted 2004) [#6]
Apologies James ..

Change 1 ..
Works on one machine .. not another ..

Enuff of this .. "Format c:"