Einzelnen Beitrag anzeigen

Assertor

Registriert seit: 4. Feb 2006
Ort: Hamburg
1.296 Beiträge
 
Turbo C++
 
#5

Re: RandomFrom(array of string) in BDS 2006 nicht mehr vorha

  Alt 15. Jul 2008, 20:30
Zitat von Chemiker:
In BDS 2006 ist diese Function nicht mehr vorhanden, oder hat sich die Bezeichnung geändert?
Also ich finde die sofort in BDS 2006:
Delphi-Quellcode:
StrUtils.pas:
{ RandomFrom will randomly return one of the given strings }
function RandomFrom(const AValues: array of string): string; overload;

Math.pas:
{ Various random functions }
function RandomFrom(const AValues: array of Integer): Integer; overload;
function RandomFrom(const AValues: array of Int64): Int64; overload;
function RandomFrom(const AValues: array of Double): Double; overload;
Gruß Assertor
Frederik
  Mit Zitat antworten Zitat