[fpc-pascal] variant part of a record

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Sep 20 13:25:50 CEST 2006

On 20 sep 2006, at 13:20, Пётр Косаревский wrote:

> I'm vague: for the first time I hoped that when you access the  
> variant part, if the "case" variable was named, program checks it  
> run-time. Hoping that it was implemented this way, I asked about  
> control over the relative place in the memory of that named  
> variable. Oh, well, there are no run-time checks, so that's all...

It's on my todo list to implement such checks (when enabled by a  
command line switch, of course). It's not that easy as it may look at  
first sight though.


More information about the fpc-pascal mailing list