const isn't constant?

Eike Lange eike.lange at uni-essen.de
Fri Mar 16 13:00:50 CET 2001


Hi!
With the following program, I get the error
	storage size of 'Bar' isn't constant
Whats wrong?
Is there another way to tell the compiler the storage
size of a const value?


program test;
const
	Foo : integer = 4;
var
	Bar:array[1..foo] of integer;
begin
end.


Eike




More information about the Gpc mailing list