[Gambas-user] Line Column
Benoit Minisini
gambas at ...1...
Thu Sep 9 18:18:43 CEST 2004
On Thursday 09 September 2004 16:22, BUDI ARIEF GUSANDI wrote:
> That's the same as VB Rob ;)
>
> On Thu, 9 Sep 2004 09:45:42 -0400, Rob <sourceforge-raindog2 at ...94...>
>
> wrote:
> > On Thursday 09 September 2004 07:10, Benoit Minisini wrote:
> >> sLine = Split(MyTextArea.Text, "\n")[TheLine]
> >
> > Wow, I didn't know you could index into the return value of a
> > function without assigning to a temp variable. Should we add
> > this to Split()'s documentation and others that return an array?
> >
> > Rob
> >
And you can do that in C, C++, and many other languages I'm sure. There is no
reason that a compiler prevents this syntax.
--
Benoit Minisini
mailto:gambas at ...1...
More information about the User
mailing list