<div class="gmail_quote">On Tue, Jan 11, 2011 at 4:18 PM, Paul Ishenin <span dir="ltr"><<a href="mailto:webpirat@mail.ru">webpirat@mail.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">11.01.2011 20:49, Razvan Adrian Bogdan wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
type<br>
TMyStruct = record<br>
NestedStruct = record<br>
SimpleMember: string;<br>
end;<br>
end;<br>
</blockquote></div>
What compiler can compile this type?<br>
<br>
Type keyword is requires to disctinct different sections inside structures. In classes, records and object you can have inner type, const, var, class var and method sections.</blockquote><div> <br> <br> Opps sorry for that second "=" symbol, i meant ":" like Sven wrote earlier but with class and yes it would only be visible with that class and a somewhat anonymous class. <br>
<br>" TMyClass = class<br>
SubStructField: record<br>
Foo: Integer;<br>
end;<br>
end;"<br> </div></div>