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

See also:
ibec_Random
ibec_Random2
ibec_RandomString
ibec_RandomVal
Data Comparer using cursors
IBEBLOCK and Test Data Generator

back to top of page
<< ibec_Random2 | IBEBlock | ibec_RandomString >>