l6bustank
2012-11-17 07:00:31
Got this snippet of code:
repeat
Wait(RandomRange(87, 111));
Inc(Count);
If (Count > 50) then
begin
Writeln('Count more than 50!');
Exit;
end;
until (InvCount < 15);Now, after InvCount falls below 15 and the loop ends, I need to set variable "Count" to 0. How can I do it?