> Yes, you do. :)
> Nevertheless
>    some_type = record
>       case Something : byte of
>       1: (x,y: word);
>       2: (z: longword);
>    end;

Thank you, Jonas and Vincent, but I was vague: what I want is blockread'ing, so 
I have to use
  record
  Something: byte;
   case byte of
    1: (x,y: word);
    2: (z: longword);
  end;

Or use classes/properties (virtualization of structure: reading into memory, 
processing there, checking in run-time that data is accessed legally [if 
needed]). Should I? Is there less abstracted approach?
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to