Jump to content

Uffe Kousgaard

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

Technical Information

  • Delphi-Version
    Delphi 11 Alexandria
  1. Uffe Kousgaard

    constant records

    I am searching for a working syntax (if possible) of a constant, nested record: type TPoint = record x,y: double end; TCircle = record C: TPoint; Radius: double; end; const cPointZero: TPoint = (x: 0; y: 0); cCircleZero: TCircle = ?? cCircleZero should be in (0,0) and have radius 0.
  2. Uffe Kousgaard

    Preprocessor

    So did my colleague think, before he started working on it. Nested ifdef's makes it complex, when also dealing with comments, strings etc.
  3. Uffe Kousgaard

    Preprocessor

    Remobjects has deliberately changed the product, so it is less compatible with Delphi in this area. It is not something they are going to undo.
  4. Uffe Kousgaard

    Preprocessor

    Is it possible to have the compiler output the source code as it looks after ifdef's etc. have been applied? Our problem is our source code is also sent to the Oxygene compiler and after a change, it no longer handles Delphi compatible ifdef's. If we can send it preprocessed code, the problem would be solved. If anyone happens to know if it is possible with freepascal compiler, it would also be great.
×