Location: Symbol Reference > Classes > TJwRandomDataGenerator Class > TJwRandomDataGenerator Methods > TJwRandomDataGenerator.GetStandardRandomData Method
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
TJwRandomDataGenerator.GetStandardRandomData Method
Pascal
class function GetStandardRandomData(const Size: Cardinal = 0): TDataBlob; virtual;
Parameters 
Description 
const Size: Cardinal = 0 
defines how big the generated size of random data block will be. If the Size is 0 the size will be incremented to 512 bytes.  

Returns a data block which contains random data. The block can be freed by FreeMem or using FreeRandomData

GetStandardRandomData generates a block of random data using pascal random function. The created data block must be freed by FreeRandomData. This function uses the pascal random function. So the randomize procedure must be called to let it work. 

 

Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!