DelphiEncryptionCompendium icon indicating copy to clipboard operation
DelphiEncryptionCompendium copied to clipboard

How can i use DECRandom.pas ?

Open Uefi1 opened this issue 3 years ago • 1 comments

Hail, how can i use DECRandom to get a random number out of 1000 for example?

`uses DECRandom

procedure TForm1.Button1Click(Sender: TObject); begin //???????? memo1.lines.add(inttostr(decrandom(1000))); //??? end; `

Uefi1 avatar Oct 25 '22 15:10 Uefi1

The DECRandom module is unusable: it has an empty interface section. Use the DECUtil.pas module instead.

vlad-mal avatar Jun 17 '24 13:06 vlad-mal