Dear all
When i using F8 OR f7 TO step in source code . the cursor postion alway one line ahead to actual cup processing source code.
also if there have some error , the actual error line is also not the complier report line.
for example the complier report error line is 5. so the actual problem line is 4.
Does there any suggestion . Thanks a lot for you helping.
I found before the code paste below , every thing is ok. and BTW the source work fine in delphi . Just not good in lazarus.
if (JvInterpreterMethod.ResTyp = varSmallint) or
(JvInterpreterMethod.ResTyp = varInteger) or
(JvInterpreterMethod.ResTyp = varBoolean) or
(JvInterpreterMethod.ResTyp = varEmpty) or
(JvInterpreterMethod.ResTyp = varObject) or
(JvInterpreterMethod.ResTyp = varPointer) then
asm
mov EAX, REAX
mov EDX, REDX
mov ECX, RECX
call Func
mov iRes, EAX
end