Data segment too large error

 

Typed constants are added to the Program's data segment. Untyped constants are added to the code segment of the application only if they are used. Unless you are going to reassign the value of a typed constant, you should use an untyped constant instead. Typed constants should be replaced with initialized variables to be compatible with future versions of the compiler.

 

Example:

Code:

{This adds the constant to the data segment}

const SomeTypedString : string = 'Test';

const SomeTypedInt : integer = 5;

 

{This adds the constant to the code segment if used}

const SomeUnTypedString = 'Test';

const SomeUnTypedInt = 5;

 

 

Добавить комментарий

Не использовать не нормативную лексику.

Просьба писать ваши замечания, наблюдения и все остальное,
что поможет улучшить предоставляемую информацию на этом сайте.

ВСЕ КОММЕНТАРИИ МОДЕРИРУЮТСЯ ВРУЧНУЮ, ТАК ЧТО СПАМИТЬ БЕСПОЛЕЗНО!


Защитный код
Обновить