[Gambas-user] Bug in update arrays ?
Steven Lobbezoo
steven at ...1652...
Thu Mar 29 12:39:27 CEST 2007
Hi,
I don't get it, i did the following :
VSel AS String = "1"
extras AS String[] = ["0", "0", "0", "0", "0", "0", "0"]
extrastag AS String[] = ["0", "0", "0", "0", "0", "0", "0"]
PUBLIC SUB Extra_Click()
DIM i AS Integer
i = Val(LAST.Name)
IF LAST.Value THEN
extras[i - 1] = "1"
ELSE
extras[i - 1] = "0"
END IF
END
as the routine Extra_Click gets executed, extras and extrastag are both
updated.
I suppose this is wrong.
Latest Gambas, latest suse
Steven
More information about the User
mailing list