On 2012-11-26 05:03, jerro wrote: > This works for me if I add parentheses to the line where you get the > error like this: > > writeln(TestStruct().x.offsetof);//bug here This will create an instance of TestStruct. -- /Jacob Carlborg