Re: [Gambas-user] Can someone explain why this works?

2011-05-05 Thread Benoît Minisini
> > Benoit, > > > > Can you explain why this works and the reasoning behind it? > > I would think there would be dimension issues on some lines > > > > > > DIM i AS Integer, Text AS String[4, 4, 4, 4] > > > > Text = ["Just", "test"]'<--how to load Text with multi-dimension > > text > >

Re: [Gambas-user] Can someone explain why this works?

2011-05-05 Thread Jussi Lahtinen
Shouldn't the error message then come from this line; Text = ["Just", "test"] ? Jussi 2011/5/5 Benoît Minisini > > Benoit, > > > > Can you explain why this works and the reasoning behind it? > > I would think there would be dimension issues on some lines > > > > > > DIM i AS Integer, Text AS S

Re: [Gambas-user] Can someone explain why this works?

2011-05-05 Thread Benoît Minisini
> Benoit, > > Can you explain why this works and the reasoning behind it? > I would think there would be dimension issues on some lines > > > DIM i AS Integer, Text AS String[4, 4, 4, 4] > > Text = ["Just", "test"]'<--how to load Text with multi-dimension > text > > FOR i = 0 TO Text.M

Re: [Gambas-user] Can someone explain why this works?

2011-05-05 Thread Jussi Lahtinen
#x27;d as a 4D array > > > -- Original Message --- > From: Fabien Bodard > To: nand...@nothingsimple.com, mailing list for gambas users > > Sent: Thu, 5 May 2011 12:37:33 +0200 > Subject: Re: [Gambas-user] Can someone explain why this works? > > > beca

Re: [Gambas-user] Can someone explain why this works?

2011-05-05 Thread nando
The question really is how PRINT Text[i] works when it is DIM'd as a 4D array -- Original Message --- From: Fabien Bodard To: nand...@nothingsimple.com, mailing list for gambas users Sent: Thu, 5 May 2011 12:37:33 +0200 Subject: Re: [Gambas-user] Can someone explain why

Re: [Gambas-user] Can someone explain why this works?

2011-05-05 Thread Fabien Bodard
because text.max is not text.count ! http://gambasdoc.org/help/comp/gb/array/max?v3 2011/5/5 nando : > Benoit, > > Can you explain why this works and the reasoning behind it? > I would think there would be dimension issues on some lines > > > DIM i AS Integer, Text AS String[4, 4, 4, 4] > > Text

[Gambas-user] Can someone explain why this works?

2011-05-04 Thread nando
Benoit, Can you explain why this works and the reasoning behind it? I would think there would be dimension issues on some lines DIM i AS Integer, Text AS String[4, 4, 4, 4] Text = ["Just", "test"]'<--how to load Text with multi-dimension text FOR i = 0 TO Text.Max PRINT Text[i]