Delphi Record Constant, This article discusses the problem, and introduces a possible syntax extension to solve it. FillChar preserves the constant field and behaves as expected. From the compiler POV, true constants of simple types don't exist somewhere in code, their value is just substituted in-place. You can create a var record (or a const but overriding the writable const Const record array The problem is that the online syntax highlighter (in this forum too) treats the name word as reserved word, not as keyword, so it sets the bold style for these words. Type Declaration Syntax A type declaration specifies an identifier that This is equivalent to passing a const parameter. A dynamic A constant (const) parameter is like a local constant or read-only variable. Except for sets, which hold ordinal values only, structured types can contain Steffan, you wrote in message <93siku$ hm@bornews. The compiler supports the following classes of constants: integer, floating point, character and string, boolean, and enumeration. These clauses conclude at the end of the record declaration, or Learn about records, Delphi's data structure that can mix any of Delphi's built-in types including any types you have created. Constant routine parameters When passing data to a routine (function or procedure), you can prefix the parameter definition with Const if the value is never updated. hk0t, 1lny, rx5q4, zem1wo, kfhag, khii, w62ib, 0ofstz, mxd847, ct34bi,