On Wednesday 20 September 2006 11:25, Jonas Maebe wrote:
> 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.

Maybe you should take a look at the GNAT source code, Ada Compiler's do 
that sort of checks since 1983. ;)


Vinzent.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to