Zabaware Support Forums

Zabaware Forums => Programming using the Ultra Hal Brain Editor => Topic started by: Larry on July 01, 2003, 07:28:20 pm

Title: VB programmers...
Post by: Larry on July 01, 2003, 07:28:20 pm
ok you programmers... is there such thing as sleep(100) in VB???

I've tried this:
'FI=0
'For FI = 1 To (Int(Rnd * 10)*1000000)+600000 Step 1
'Next
But I think this is a sloppy way of doing things...
What I wanted to do is this:
'FI=0
'FI=Int(Rnd * 10)
'FI=(FI*100)+100
'sleep(FI)
However, this produces an error... BTW, the method via counting gives the user the impression that there is actually someone at the other end chatting with them since it actually takes a few seconds to 'reply' to your comments... So how about it???