<div dir="ltr">2018-06-28 18:05 GMT-04:00 Jussi Lahtinen <span dir="ltr"><<a href="mailto:jussi.lahtinen@gmail.com" target="_blank">jussi.lahtinen@gmail.com</a>></span>:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>If I understand you correctly, then there is bug in your code and the problem is not due using collection.</div></div></blockquote><div>umm now thinking when i manage the configuration file got that:<br>gb.settings: warning: unable to save settings: /home/remoto/Devel/libcomun/libmngr/exdatabase.conf: Settings<br>.Save.204 Unable to save settings: Settings.WriteValue.563 Type mismatch: wanted Object, got Pointer instead<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>If however you have scope problem you need object serialization. I don't think PHP does that automatically either.<span class="gmail-HOEnZb"><font color="#888888"><br></font></span></div></div></blockquote><div>yeah, the object must be serializated to proper identification and manage but in my case this are made automatically by the framework (a little modified by me for that)<br><br></div><div>but.. in any case can be done.. more easy as i can see rather than gambas.. so ill revise your suggestions comments and post feedback here<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><span class="gmail-HOEnZb"><font color="#888888"></font></span></div><span class="gmail-HOEnZb"><font color="#888888"><div><br></div><div><br></div><div>Jussi<br></div></font></span></div><div class="gmail-HOEnZb"><div class="gmail-h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 29, 2018 at 12:31 AM, 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span>2018-06-28 10:43 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><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><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></blockquote></span><div>well it's hard to explain, but in php i can "store" or "transport" and object using arrays..<br></div><span><div> </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Maybe you should show your code, that we could understand what you are trying to achieve.<span class="gmail-m_4833152468019399980m_7441960356452051283HOEnZb"><font color="#888888"><br></font></span></div></div></blockquote></span><div>well i must chage a little to release portion of code from the job.. <br></div><div><div class="gmail-m_4833152468019399980h5"><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><span class="gmail-m_4833152468019399980m_7441960356452051283HOEnZb"><font color="#888888"></font></span></div><span class="gmail-m_4833152468019399980m_7441960356452051283HOEnZb"><font color="#888888"><div><br></div><div><br></div><div>Jussi<br></div></font></span></div><div class="gmail-m_4833152468019399980m_7441960356452051283HOEnZb"><div class="gmail-m_4833152468019399980m_7441960356452051283h5"><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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span>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><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);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><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);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="gmail-m_4833152468019399980m_7441960356452051283m_4104955558500697115m_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><div><br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><span class="gmail-m_4833152468019399980m_7441960356452051283m_4104955558500697115m_6667851354203296520HOEnZb"><font color="#888888"></font></span></div><span class="gmail-m_4833152468019399980m_7441960356452051283m_4104955558500697115m_6667851354203296520HOEnZb"><font color="#888888"><div><br></div><div><br></div><div>Jussi<br></div></font></span></div><div class="gmail-m_4833152468019399980m_7441960356452051283m_4104955558500697115m_6667851354203296520HOEnZb"><div class="gmail-m_4833152468019399980m_7441960356452051283m_4104955558500697115m_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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);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="gmail-m_4833152468019399980m_7441960356452051283m_4104955558500697115m_6667851354203296520m_-8182261162518203801m_-482178515109660769gmail_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="gmail-m_4833152468019399980m_7441960356452051283m_4104955558500697115m_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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);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="gmail-m_4833152468019399980m_7441960356452051283m_4104955558500697115m_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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="gmail-m_4833152468019399980m_7441960356452051283m_4104955558500697115m_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="gmail-m_4833152468019399980m_7441960356452051283m_4104955558500697115m_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>
</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></div></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>
</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>