Open delphidabbler opened 1 year ago
There are RandomFrom functions in System.Math for all the Float array types + Integer, Int64 and UInt64 arrays.
RandomFrom
System.Math
Integer
Int64
UInt64
There also RandomFrom functions in System.AnsiStrings and System.SysUtils for arrays of ANSI and Unicode strings.
System.AnsiStrings
System.SysUtils
What's missing are RandomFrom overloads for Cardinal arrays (+ shorter Integer types), TBytes and TStrings.
Cardinal
TBytes
TStrings
There are
RandomFrom
functions inSystem.Math
for all the Float array types +Integer
,Int64
andUInt64
arrays.There also
RandomFrom
functions inSystem.AnsiStrings
andSystem.SysUtils
for arrays of ANSI and Unicode strings.What's missing are
RandomFrom
overloads forCardinal
arrays (+ shorter Integer types),TBytes
andTStrings
.