本文整理自网络,侵删。
procedure Shuffle(Strings: TStrings);var i: Integer;begin//delphitop.com for i := Strings.Count-1 downto 1 do Strings.Exchange(i, Random(i+1));end;
相关阅读 >>
Delphi2010中使用pchar时e2010 incompatible types: 'char' and 'ansichar' 错误的处理
Delphi 把exe可执行文件等作为资源包含在Delphi编译文件中
Delphi sysutils.stringreplace - 替换
更多相关阅读请进入《Delphi》频道 >>