Random number generator (included): Difference between revisions
Content added Content deleted
Line 228: | Line 228: | ||
Based on the values given in the wikipedia entry here is a Delphi compatible implementation for use in other pascal dialects. |
Based on the values given in the wikipedia entry here is a Delphi compatible implementation for use in other pascal dialects. |
||
<syntaxhighlight lang="pascal"> |
<syntaxhighlight lang="pascal"> |
||
unit delphicompatiblerandom; |
|||
{$ifdef fpc}{$mode objfpc}{$endif} |
{$ifdef fpc}{$mode objfpc}{$endif} |
||