[Lazarus] trying to read an EXE

Bart bartjunk64 at gmail.com
Fri Sep 3 23:10:24 CEST 2021


On Fri, Sep 3, 2021 at 11:08 PM duilio foschi via lazarus
<lazarus at 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


More information about the lazarus mailing list