[fpc-pascal] Constants and proc types

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Sep 27 20:26:39 CEST 2013


On 27 Sep 2013, at 20:13, August Oktobar wrote:

> const
>   type_list:array [0..1]of tproc_type=(@xxx, at yyy);
> 
>  const
>     one_type: tproc_type=type_list[0] ;   <------- illegal expression

The reason is the same as http://bugs.freepascal.org/view.php?id=20823


Jonas



More information about the fpc-pascal mailing list