Since the size is part of the type you can easily extract it with this
completely untested piece of code that should hopefully work:
proc size1[N](x: Object[N]): int = N
Run
- Re: Using fields to define other fields lemonboy
- Re: Using fields to define other fields Allosteric
- Re: Using fields to define other fields Allosteric
- Re: Using fields to define other fields Stefan_Salewski
- Re: Using fields to define other fields Allosteric
- Re: Using fields to define other fie... Stefan_Salewski
- Re: Using fields to define other fie... Allosteric
- Re: Using fields to define other fie... Allosteric
- Re: Using fields to define other fie... LeuGim
- Re: Using fields to define other fie... Allosteric
- Re: Using fields to define other fie... lemonboy
- Re: Using fields to define other fie... Allosteric
- Re: Using fields to define other fie... LeuGim
- Re: Using fields to define other fie... Allosteric
