[fpc-devel] Local procedures as procedural parameter
    Jonas Maebe 
    jonas at zeus.ugent.be
       
    Mon Mar 14 10:48:53 CET 2005
    
    
  
On 14 mrt 2005, at 10:34, Marco van de Voort wrote:
>> BuIt seems to me that the following is perfectly valid code :
>>
>> Var
>>    StoredF : Function (x : real) : real
>
> This is not allowed. Only TP style is allowed with VAR, so
>
> var stored : TSomeFunc;
That's not true, the above is perfectly valid (but it creates a regular 
procedural variable, and not an "ISO-style procedural variable", as 
those simply do not exist).
Jonas
    
    
More information about the fpc-devel
mailing list