<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Oct 2, 2014 at 6:51 PM, Mattias Gaertner <span dir="ltr"><<a href="mailto:nc-gaertnma@netcologne.de" target="_blank">nc-gaertnma@netcologne.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">On Thu, 2 Oct 2014 18:40:01 -0300<br>
silvioprog <<a href="mailto:silvioprog@gmail.com" target="_blank">silvioprog@gmail.com</a>> wrote:<br>
<br>
>[...]<br>
> But it would be an nice feature in Free Pascal, something like the "import"<br>
> of Python and Java. =)<br>
<br>
Java requires a CLASSPATH for the imports to work, does it not?<br>
<br>
Mattias</blockquote><div><br></div><div><div>You can import one or more classes. E.g, you can use it:</div><div><br></div><div>import com.example.Foo;</div><div>import com.example.Bar;</div><div><br></div><div>or:</div><div><br></div><div>import com.example.*;</div><div><br></div><div>In first example, you import only Foo and Bar classes, in second you import any classes in "example", Foo, Bar, Other.</div></div><div><br></div></div>-- <br>Silvio Clécio<br>My public projects - <a href="http://github.com/silvioprog" target="_blank">github.com/silvioprog</a>
</div></div>