<< ibec_IntToHex | IBEBlock | ibec_ParseCSVLine >>

ibec_Ord

Returns the ordinal value of the specified character.

Syntax

  function ibec_Ord(Chr : char): integer;

Description

The ibec_Ord function returns the ordinal value of the specified character. If Chr is an empty string or NULL, then result is 0.

Example

  execute IBEBlock
  returns (cout varchar(1))
  as
  begin
    i = 0;
    while (i < 256) do
    begin
      cout = ibec_Chr(i);
      i = i + 1;
      suspend;
    end
  end

See also:
ibec_Chr

back to top of page
<< ibec_IntToHex | IBEBlock | ibec_ParseCSVLine >>