-->
Generate random Value in Delphi (integer values) | Delphi Tips Trick
About
Kontak
Disclaimer
Sitemap
Drop-Down
Sub-item 1
Sub-item 2
Delphi Tips Trick
For Newbie
Home
About
Kontak
Categories
▼
Label 1
Label 2
Label 3
Label 4
Label 5
Links
Friday, 25 November 2011
Home
»
Tips and Trick Delphi
» Generate random Value in Delphi (integer values)
Generate random Value in Delphi (integer values)
To Share
| Friday, 25 November 2011
Here a sample to get a randomized integer value in delphi 7
random integer value delphi
here the source code
procedure TForm1.Button1Click(Sender: TObject);
var i,int : integer;
begin
for i := 1 to 5 do
begin
int := 1 + Random(100) ;
label1.Caption:=inttostr(int);
end;
end;
Related Posts
No comments:
Post a Comment
Newer Post
Older Post
Home
No comments:
Post a Comment