Re: [Gambas-user] Frozen collections - quick answers only needed

2015-07-15 Thread Fabien Bodard
Just inherits collection and overload the _put/_get, add and remove procedures. Le 16 juil. 2015 00:33, adamn...@gmail.com adamn...@gmail.com a écrit : On Thu, 16 Jul 2015 00:22:29 +0200 Benoît Minisini gam...@users.sourceforge.net wrote: Le 16/07/2015 00:17, adamn...@gmail.com a écrit :

Re: [Gambas-user] Array.Add question

2015-07-15 Thread Fabien Bodard
Le 15 juil. 2015 16:22, Benoît Minisini gam...@users.sourceforge.net a écrit : Le 15/07/2015 16:07, Rolf-Werner Eilert a écrit : Uuh interesting - thanks for the links! I just wasn't sure about this, maybe mentioning it in the help chapter for DIM would make it clear. What I've

[Gambas-user] Array.Add question

2015-07-15 Thread Rolf-Werner Eilert
Sometimes... ok: Never done this before, so I just ask: Dim sTest as String[0,0] sTest.Add(Hello, World) Where is Hello now? At 0,0 or 1,1? Or: Which dimension is added? Is that possible - or are multi-dimensional arrays not dynamic? Thanks for your help! Rolf

[Gambas-user] New open-source app (mamemenu) with a question

2015-07-15 Thread Kevin Fishburne
I've been working on an arcade cabinet over the last few weeks and it's almost done. I started work tonight on the front end because existing ones aren't suitable for a real-world cabinet. This is the first open-source project I've released and you can find it here (we'll say it's GPLv2 for

Re: [Gambas-user] ?? : why this code not working

2015-07-15 Thread tsukuba GIMP user
Ok i know what problem is because the dicer! if dicer is 1~5 int then will be may textbox1.text content change because it's another Conditional judgment so if $dbclick = 8 then dicer = 0 --Random content(text) is 1 to 5 Form3.TextBox1.text = (if you click me again i will be sudo rm

Re: [Gambas-user] Array.Add question

2015-07-15 Thread Charlie
Try this: - Dim sTest As New String[1, 2] sTest[0, 0] = Hello sTest[0, 1] = World -- View this message in context: http://gambas.8142.n7.nabble.com/Array-Add-question-tp52019p52020.html Sent from the gambas-user mailing list archive at Nabble.com.

[Gambas-user] Frozen collections - quick answers only needed

2015-07-15 Thread adamn...@gmail.com
Hi all, I have a class that exposes a collection of child objects as a property. How can I make it that the only object that can add or delete child items to/from the collection is that class? In other words, no client class is allowed to Add a new item, or Remove or nullify any existing

Re: [Gambas-user] Frozen collections - quick answers only needed

2015-07-15 Thread Benoît Minisini
Le 16/07/2015 00:17, adamn...@gmail.com a écrit : Hi all, I have a class that exposes a collection of child objects as a property. How can I make it that the only object that can add or delete child items to/from the collection is that class? In other words, no client class is allowed to

Re: [Gambas-user] Frozen collections - quick answers only needed

2015-07-15 Thread adamn...@gmail.com
On Thu, 16 Jul 2015 00:22:29 +0200 Benoît Minisini gam...@users.sourceforge.net wrote: Le 16/07/2015 00:17, adamn...@gmail.com a écrit : Hi all, I have a class that exposes a collection of child objects as a property. How can I make it that the only object that can add or delete child

Re: [Gambas-user] Array.Add question

2015-07-15 Thread Benoît Minisini
Le 15/07/2015 16:07, Rolf-Werner Eilert a écrit : Uuh interesting - thanks for the links! I just wasn't sure about this, maybe mentioning it in the help chapter for DIM would make it clear. What I've done so far to overcome this: When I have string arrays, I put in data with tabbed fields

Re: [Gambas-user] Array.Add question

2015-07-15 Thread Rolf-Werner Eilert
Am 15.07.2015 15:41, schrieb Tobias Boege: On Wed, 15 Jul 2015, Rolf-Werner Eilert wrote: Sometimes... ok: Never done this before, so I just ask: Dim sTest as String[0,0] sTest.Add(Hello, World) Where is Hello now? At 0,0 or 1,1? Or: Which dimension is added? Is that possible - or are

Re: [Gambas-user] Array.Add question

2015-07-15 Thread Rolf-Werner Eilert
Am 15.07.2015 15:36, schrieb Benoît Minisini: Le 15/07/2015 15:24, Rolf-Werner Eilert a écrit : Sure, but when I want sTest to be longer? I mean, more rows or cols? Can I sTest.Add ? And if yes, which dimension will be increased, the first one or the last one? Multi-dimensional arrays are

Re: [Gambas-user] ?? : why this code not working

2015-07-15 Thread tsukuba GIMP user
i try if $dbclick = 8 then print hello when i click 8 time console is printed HELLO but the textbox1.text it's still No expectations of the content(text) and i deleted else goto just_keep_moveing it's doesn't work... On 07/14/2015 03:14 PM, tsukuba GIMP user wrote: No i make a mistay

Re: [Gambas-user] Array.Add question

2015-07-15 Thread Tobias Boege
On Wed, 15 Jul 2015, Rolf-Werner Eilert wrote: Sometimes... ok: Never done this before, so I just ask: Dim sTest as String[0,0] sTest.Add(Hello, World) Where is Hello now? At 0,0 or 1,1? Or: Which dimension is added? Is that possible - or are multi-dimensional arrays not dynamic?

Re: [Gambas-user] Array.Add question

2015-07-15 Thread Rolf-Werner Eilert
Sure, but when I want sTest to be longer? I mean, more rows or cols? Can I sTest.Add ? And if yes, which dimension will be increased, the first one or the last one? Am 15.07.2015 13:09, schrieb Charlie: Try this: - Dim sTest As New String[1, 2] sTest[0, 0] = Hello sTest[0, 1] = World

Re: [Gambas-user] Array.Add question

2015-07-15 Thread Benoît Minisini
Le 15/07/2015 15:24, Rolf-Werner Eilert a écrit : Sure, but when I want sTest to be longer? I mean, more rows or cols? Can I sTest.Add ? And if yes, which dimension will be increased, the first one or the last one? Multi-dimensional arrays are fixed, you can't resize them. The Add() method