delphi轮循算法
delphi轮循算法
var Index: Integer; var count: integer = 2; procedure TForm1.Button1Click(Sender: TObject); begin var i := Index mod count; inc(Index); Memo1.Lines.Add(i.ToString); end;
本文来自博客园,作者:{咏南中间件},转载请注明原文链接:https://www.cnblogs.com/hnxxcxg/p/16864817.html