ibec_Mod

Returns the remainder obtained by dividing its operands.

Syntax

  function ibec_mod(Operand1, Operand2 : integer) : integer;

Description

No additional decription...

Example

  execute IBEBlock
  returns (cout varchar(100))
  as
  begin
    i = 1;
    while (I < 50) do
    begin
      if (ibec_mod(i, 2) = 0) then
        cout = i || ' is even number';
      else
        cout = i || ' is odd number';
      suspend;
      i = i + 1;
    end
  end

See also:
Data Comparer using cursors

back to top of page
<< ibec_Div | IBEBlock | ibec_Power >>