Product Site

C.1.30. Error 34 - Logical value not 0 or 1.

Explanation:

An expression was found e. g. in an IF, WHEN, WHILE, or UNTIL phrase that did not result in a 0 or 1. Any value operated on by a logical operator must result in a 0 or 1. For example, the clause "If result then exit rc" fails if result has a value other than 0 or 1.

The associated subcodes are:
001

Value of expression following IF keyword must be exactly "0" or "1"; found "value".
002

Value of expression following WHEN keyword must be exactly "0" or "1"; found "value".
003

Value of expression following WHILE keyword must be exactly "0" or "1"; found "value".
004

Value of expression following UNTIL keyword must be exactly "0" or "1"; found "value".
005

Value of expression to the left of the logical operator "operator" must be exactly "0" or "1"; found "value".
006

Value of logical list expression element must be exactly "0" or "1"; found "value".
900

message.
901

Logical value must be exactly "0" or "1"; found "value".
902

Value of expression following GUARD keyword must be exactly "0" or "1"; found "value".
903

Authorization return value must be exactly "0" or "1"; found "value".
904

Property logical value must be exactly "0", "1", "true", or "false"; found "value".
905

SELECT CASE comparison result must be exactly "0" or "1"; found "value".
906

Supplier AVAILABLE method did not return exactly "0" or "1"; found "value".