meta data for this page
  •  

ibec_RandomChar

Generates random char within a specified range.

Syntax

function ibec_RandomChar(MinOrdValue, MaxOrdValue : integer): string;

Description

ibec_RandomChar returns a random char within the range MinOrdValue ⇐ X ⇐ MaxOrdValue.

Example

execute IBEBlock
returns (cout varchar(1))
as
begin
  i = 0;
  while (i < 100) do
  begin
    cout = ibec_RandomChar(1, 255);
    i = i + 1;
    suspend;
  end
end