<div dir="ltr">why I cannot compile this (FPC 2.7.1)<br><br>type<br> tproc_type=procedure;<br><br> procedure xxx;<br> begin<br> end;<br><br> procedure yyy;<br> begin<br> end;<br><br> const<br> type_list:array [0..1]of tproc_type=(@xxx,@yyy);<br>
<br> const<br> one_type: tproc_type=type_list[0] ; <------- illegal expression<br></div>