Error: negative decimal constants of „if/elsif“-conditions may not correctly recognized. in this case a comparison can fail. This is does not occur with constants created using „const“ and a identifier.

  • Solution: encapsulate negative constants, eg. if value < (-34).
Error:
if value < -120 then ' constant value -120 not correctly recognized
  ..
endif
Solution:
if value < (-120) then ' encapsulate negative constant values
  ..
endif