Uffe Kousgaard 0 Posted November 1, 2023 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. Share this post Link to post
Eugine Savin 4 Posted November 1, 2023 cCircleZero: TCircle = (C: (x: 0; y: 0); Radius: 0.0); 1 Share this post Link to post
David Heffernan 2345 Posted November 1, 2023 (edited) https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Declared_Constants It's all in here Edited November 1, 2023 by David Heffernan 2 Share this post Link to post