Update README.md

This commit is contained in:
R. Eric Wheeler 2020-05-13 16:28:54 +00:00
parent e80e7e2d76
commit 05e1a8422e
1 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# Free Pascal Random Bytes # Free Pascal Random Bytes
This file is a part of [Renegade BBS](http://renegade.cc "Renegade BBS"). This file is a part of Olive BBS.
This will only work with [Free Pascal](http://freepascal.org "Free Pascal") version 3+. I Think [namespacing](http://wiki.freepascal.org/FPC_New_Features_3.0#Delphi-like_namespaces_units "Namespaces") is a good idea, and FPC 3+ is not hard to get your hands on for any platform. In fact, I believe its the most cross platform program that I have ever found, _**including** [ScummVM](http://scummvm.org/ "ScummVM is a program which allows you to run certain classic graphical point-and-click adventure games, provided you already have their data files.")_. This will only work with [Free Pascal](http://freepascal.org "Free Pascal") version 3+. I Think [namespacing](http://wiki.freepascal.org/FPC_New_Features_3.0#Delphi-like_namespaces_units "Namespaces") is a good idea, and FPC 3+ is not hard to get your hands on for any platform. In fact, I believe its the most cross platform program that I have ever found, _**including** [ScummVM](http://scummvm.org/ "ScummVM is a program which allows you to run certain classic graphical point-and-click adventure games, provided you already have their data files.")_.
@ -12,7 +12,7 @@ Program RandomTest;
{$mode objfpc}{$H+} {$mode objfpc}{$H+}
uses uses
Renegade.Random, Olive.Random,
Classes; Classes;
var var
@ -26,13 +26,13 @@ begin
R.Free; R.Free;
``` ```
You can also use a custom random generator. It needs to implement Renegade.Random.RandomInterface; You can also use a custom random generator. It needs to implement Olive.Random.RandomInterface;
```pascal ```pascal
Program RandomTest; Program RandomTest;
{$mode objfpc}{$H+} {$mode objfpc}{$H+}
uses uses
Renegade.Random, Olive.Random,
MyCustomGenerator, MyCustomGenerator,
Classes; Classes;