Michael Van Canneyt wrote: >> In fact standard pascal does not allow procedure variables, only >> procedure >> parameters (note the difference). I suppose the above problem is the >> reason. > > > Then I think standard pascal is very handicapped indeed. var f : function : longint of procedure(a : longint); :)?