[Gambas-devel] Bug on Gambas 1.9.28
fabien Bodard
arcalis.prod at ...4...
Mon Apr 17 16:04:47 CEST 2006
' 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
More information about the Devel
mailing list