> > 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
> >
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
> 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
#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
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
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
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]