Le 15 juil. 2015 16:22, "Benoît Minisini" 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 done so far to
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
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
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
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
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()
m
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] =
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.
---
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