On Fri, Sep 3, 2021 at 11:08 PM duilio foschi via lazarus
<lazarus@lists.lazarus-ide.org> wrote:

> In which form gets this instruction compiled?
>    i:=cmbYear.ItemIndex+2005;

Compile wit -al and then open the resulting .s file in a texteditor.
You'll see the assembler that the compiler generates for that line:

It will be preceeded by a comment more or less like this:
# i:=cmbYear.ItemIndex+2005;

-- 
Bart
-- 
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to