<div dir="ltr"><div>I can't understand your English.</div><div>Collection does not store object, it stores object reference. Thus if you are out of scope of the object, the collection contains useless reference.</div><div>So, with correct scope, there shouldn't be any problems.</div><div><br></div><div>Maybe you should show your code, that we could understand what you are trying to achieve.<br></div><div><br></div><div><br></div><div>Jussi<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 28, 2018 at 4:04 PM, PICCORO McKAY Lenz <span dir="ltr"><<a href="mailto:mckaygerhard@gmail.com" target="_blank">mckaygerhard@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class="">2018-06-27 16:50 GMT-04:00 Jussi Lahtinen <span dir="ltr"><<a href="mailto:jussi.lahtinen@gmail.com" target="_blank">jussi.lahtinen@gmail.com</a>></span>:<br></span><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Your English makes no sense.</div></div></blockquote></span><div>sorry last line was misctyped!<br></div><span class=""><div><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div> If you destroy object, you do nothing with the reference. So, they must have same scope.<span class="m_6667851354203296520HOEnZb"><font color="#888888"><br></font></span></div></div></blockquote></span><div>i not taking about destroyng object but if the created object are on the part that stored in the collection this makes sense.. <br><br></div><div>so then how can avoid that behaviour?<br><br></div><div>i want something like php does with arrays ... ver very flexible!<br></div><span class=""><div><br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span class="m_6667851354203296520HOEnZb"><font color="#888888"></font></span></div><span class="m_6667851354203296520HOEnZb"><font color="#888888"><div><br></div><div><br></div><div>Jussi<br></div></font></span></div><div class="m_6667851354203296520HOEnZb"><div class="m_6667851354203296520h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 27, 2018 at 4:11 PM, PICCORO McKAY Lenz <span dir="ltr"><<a href="mailto:mckaygerhard@gmail.com" target="_blank">mckaygerhard@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>so if i made a collection of my 3 of 4 connections objects those can be opened globally!<br><br></div>how can i emulated a stored object connection that must be opened always before running the query?<br><br></div>of course without inherits, due if all my objects inherits from one that already have opened i can use it!<br></div><div class="gmail_extra"><span><br clear="all"><div><div class="m_6667851354203296520m_-8182261162518203801m_-482178515109660769gmail_signature" data-smartmail="gmail_signature"><font color="#888888">Lenz McKAY Gerardo (PICCORO)</font><div><font color="#888888"><a href="http://qgqlochekone.blogspot.com" target="_blank">http://qgqlochekone.blogspot.c<wbr>om</a></font></div></div></div>
<br></span><div><div class="m_6667851354203296520m_-8182261162518203801h5"><div class="gmail_quote">2018-06-26 18:49 GMT-04:00 Jussi Lahtinen <span dir="ltr"><<a href="mailto:jussi.lahtinen@gmail.com" target="_blank">jussi.lahtinen@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Collections have only reference to objects, they do not contain objects.</div><div><br></div><div><br></div><div>Jussi<br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_6667851354203296520m_-8182261162518203801m_-482178515109660769h5">On Wed, Jun 27, 2018 at 12:18 AM, PICCORO McKAY Lenz <span dir="ltr"><<a href="mailto:mckaygerhard@gmail.com" target="_blank">mckaygerhard@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_6667851354203296520m_-8182261162518203801m_-482178515109660769h5"><div dir="ltr"><div><div><div><br></div>i can setup and store the connection object once opened in a collection of connection objects?<br><br></div>i want to use a pool from configuration file!<br><br></div>so can stored a OPENED connection object in a colletion? (urrently seems when i used me.add the conectuion object happened closed)<br><div><div><div><br clear="all"><div><div class="m_6667851354203296520m_-8182261162518203801m_-482178515109660769m_2518724830675314561m_-2806373410224335297gmail_signature"><font color="#888888">Lenz McKAY Gerardo (PICCORO)</font><div><font color="#888888"><a href="http://qgqlochekone.blogspot.com" target="_blank">http://qgqlochekone.blogspot.c<wbr>om</a></font></div></div></div>
</div></div></div></div>
<br><br></div></div>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
<br></blockquote></div><br></div>
<br><br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
<br></blockquote></div><br></div></div></div>
<br><br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
<br></blockquote></div><br></div>
</div></div><br><br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
<br></blockquote></span></div><br></div></div>
<br><br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
<br></blockquote></div><br></div>