Re: Constants



Craig wrote:

How are simple and typed constants stored? Do simple constants use memory? What about string constants, how are they stored? The Delphi books that I read have different answers on how constants are stored, and I don't know which to believe.

In case of doubt : Declare some string constant you'll find again,
make an exe, and have a look at it using an hex editor.
.



Relevant Pages

  • Re: embedded questions!!!
    ... >compiler books (like the two editions of the 'dragon' book, ... I don't think the Dragon book will help. ... "*Storage for string constants.* You should never attempt to ... modify the memory that holds the characters of a string constant ...
    (comp.arch.embedded)
  • Constants
    ... What about string constants, how are they stored? ... The Delphi ... books that I read have different answers on how constants are stored, ...
    (comp.lang.pascal.delphi.misc)