I'm trying to convert some code from FPC to delphi and having trouble to understand this line. Code: Pascal [Select][+][-]{$define setoverflow:= status :=status or OVERFLOW} setoverflow is defined but those multiple assigments confuse me.Is this conditional compilation or not?
I might be wrong but everything after overflow should be considered comments they have no real contribution to the final definition. Propably some kind of mnemonic on when or for what the setoverflow is used.
It just means that when the compiler encounters "setoverflow" it will be replaced with "status :=status or OVERFLOW"
Quote from: Thaddy on July 07, 2018, 12:45:56 pmIt just means that when the compiler encounters "setoverflow" it will be replaced with "status :=status or OVERFLOW"thank you