kornalius
10-26-2006, 03:19 AM
To solve*some complex situations in PPL where the same procedure names and variables. Right now, when two forms are created in PPL with the same control names*and used within the same project it causes problems. In version 1.1 it won't be anymore.*It will probably appear in beta form in 1.06 so it can be stable and usable by 1.1.</p><pre>#namespace mylib</pre><pre>* global(a$);</pre><pre>* proc test
*** a$ = 10;
*** ShowMessage("MyLib.Test");
* end;</pre><pre>#endnamespace</pre><pre>#namespace mylib2</pre><pre>* global(a$);</pre><pre>* proc test
*** a$ = 20;
*** ShowMessage("MyLib2.Test");
* end;</pre><pre>#endnamespace</pre><pre>proc main</pre><pre>* ::mylib test;
* ::mylib2 test;</pre><pre>* ShowMessage(::mylib a$ + "," + ::mylib2 a$);* // Should display 10,20</pre><pre>end;</pre>
Let me know what you think.</p>
*** a$ = 10;
*** ShowMessage("MyLib.Test");
* end;</pre><pre>#endnamespace</pre><pre>#namespace mylib2</pre><pre>* global(a$);</pre><pre>* proc test
*** a$ = 20;
*** ShowMessage("MyLib2.Test");
* end;</pre><pre>#endnamespace</pre><pre>proc main</pre><pre>* ::mylib test;
* ::mylib2 test;</pre><pre>* ShowMessage(::mylib a$ + "," + ::mylib2 a$);* // Should display 10,20</pre><pre>end;</pre>
Let me know what you think.</p>