Product Site

C.1.23. Error 26 - Invalid whole number.

Explanation:

An expression was found that did not evaluate to a whole number or is greater than the limit (the default is 999,999,999 for 32-bit systems and 999,999,999,999,999,999 for 64-bit systems):
  • The positional patterns in parsing templates (including variable positional patterns)
  • The operand to the right of the power operator
  • The values of exprr and exprf in the DO and LOOP instructions
  • The values given for DIGITS or FUZZ in the NUMERIC instruction
  • The number used in the option of the TRACE setting
  • This error is also raised if the value is not permitted (for example, a negative repetition count in a DO instruction), or the division performed during an integer divide or remainder operation does not result in a whole number.

The associated subcodes are:
002

Value of repetition count expression in DO or LOOP instruction must be zero or a positive whole number; found "value".
003

Value of FOR expression in DO or LOOP instruction must be zero or a positive whole number; found "value".
004

Positional pattern of PARSE template must be a whole number; found "value".
005

DIGITS value must be a positive whole number; found "value".
006

FUZZ value must be zero or a positive whole number; found "value".
007

Number used in TRACE setting must be a whole number; found "value".
008

Operand to the right of the power operator (**) must be a whole number; found "value".
011

Result of % operation did not result in a whole number.
012

Result of // operation did not result in a whole number.
900

message.
901

Result of a method call did not result in a whole number; found "value".
902

Result of a COMPARETO method call did not result in a whole number; found "value".
903

Result of a COMPARE method call did not result in a whole number; found "value".
904

Stem "stem" element 0 is not a whole number; found "count".