Forum > Other

free pascal

(1/1)

Andrei14:
Hello! Who knows what type of error is this?
Any help will be appreciated! Thanks!

source.pas(12,5) Error: Incompatible types: got "Boolean" expected "Int64"
source.pas(15) Fatal: There were 1 errors compiling module, stopping
Error: /usr/bin/ppcx64 returned an error exitcode

af0815:
you hava a variable with the type Boolean, but the compiler is wanting a Int64. If you show some code it will be more clear.

Martin_fr:
Most likely operator precedence in a bool expression

This code
--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---if Int1 = int2 and int3 = int4needs to be

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---if (Int1 = int2) and (int3 = int4)

Navigation

[0] Message Index

Go to full version