Compiler Error XS0246
Posted: Fri Jul 06, 2018 8:42 am
The line:
iDiff := Integer ( ( ( iCurrentHeight ) - ( struTemp.bottom - struTemp.top ) ) / 2 )
causes the error XS0246 "The type or namespace 'iCurrentheight' could not be found" etc. The error is gone when i remove the iCurrenheight parentheses.
iDiff := Integer ( ( iCurrentHeight - ( struTemp.bottom - struTemp.top ) ) / 2 )
but why does throw the first line an XS0246 error ?
regards
Karl-Heinz
iDiff := Integer ( ( ( iCurrentHeight ) - ( struTemp.bottom - struTemp.top ) ) / 2 )
causes the error XS0246 "The type or namespace 'iCurrentheight' could not be found" etc. The error is gone when i remove the iCurrenheight parentheses.
iDiff := Integer ( ( iCurrentHeight - ( struTemp.bottom - struTemp.top ) ) / 2 )
but why does throw the first line an XS0246 error ?
regards
Karl-Heinz