Posted by Phil Birell p16812 on January 26, 2009I want to use the function RandomFrom(ArrayOfStrings) in my program. I tried already to narrow the problem to the following simple program:
procedure TForm1.Button1Click(Sender: TObject);
ShowMessage(RandomFrom(['a', 'b', 'c']);
...but still Delphi gives an error:
[Fatal Error] Unit1.Pas(8): File not found: 'MathStrUtils.dcu'
What is wrong with my code? :(