Calculator Community > Calculator C
[TIGCC] Key Testing Too Fast?
bfr:
TIGCC .96 Beta 7 is the latest beta version of TIGCC.
Well, I also tried it with a timeout type of thing. The actions that occurred when keys were press could only happen when the timeout variable had a certain value. Here is psuedo-code for what I mean:
c1-->CODE ec1
timeout = 0;
loop
if(_keytest(RR_UP) && timeout=29){
//do stuff
}
timeout++;
if(timeout==50)timeout=0;
endloop
c2ec2
But I got the same results as when I did the delay thing. I guess I'll try the random number thing.
MathStuf:
Try for(d = 0;d
bfr:
OK, thanks. :) I'll try that when I get on my computer that has TIGCC installed...
bfr:
I finally got it to work. I put:
b = random(20);
inside the loop. Thanks, everybody :)
Liazon:
no problem
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version