[Gambas-devel] Bug on Gambas 1.9.28
Benoit Minisini
gambas at ...1...
Mon Apr 17 22:35:24 CEST 2006
On Monday 17 April 2006 19:09, Benoit Minisini wrote:
> On Monday 17 April 2006 16:04, fabien Bodard wrote:
> > ' Gambas class file
> > CREATE
> > INHERITS collection
> >
> > PUBLIC SUB _new()
> > DIM arg AS String
> > DIM s AS String
> > DIM ars AS NEW String[]
> > arg = application.Env["QUERY_STRING"]
> > arg = "titi=toto"
> > FOR EACH s IN Split(arg, " ")
> > ars = Split(s, "=")
> > IF ars.Count > 1 THEN
> > 'PRINT ars[0]
> > SUPER[ars[0]] = ars[1]
> > ENDIF
> > NEXT
> >
> >
> > END
> >
> >
> > Try this ... it's not a segmentation fault but...
> > It say not an array on the line :
> > SUPER[ars[0]] = ars[1]
> >
> > It look to a problem of parsing. I cant write SUPER[s] = ars[1]
> >
> > But not put an array between braces.
> >
> > Regards,
> > Fabien Bodard
>
> OK. I fixed the bug! Try this patch...
Forget it, it does not work...
--
Benoit Minisini
More information about the Devel
mailing list