Re: [Gambas-user] Logical error in Gambas2.21

2010-09-27 Thread BenoƮt Minisini
> PUBLIC SUB MaxFind(tomb AS String[], minta AS String) AS Integer ' A > function in Archs module that finds the highest index in the array tomb > which contains minta > DIM supst AS String[] > DIM mfind AS Integer = -1 > DIM cel AS Integer > supst = NEW String[] > supst = tomb > WHILE supst.Find(m

[Gambas-user] Logical error in Gambas2.21

2010-09-27 Thread M. Cs.
PUBLIC SUB MaxFind(tomb AS String[], minta AS String) AS Integer ' A function in Archs module that finds the highest index in the array tomb which contains minta DIM supst AS String[] DIM mfind AS Integer = -1 DIM cel AS Integer supst = NEW String[] supst = tomb WHILE supst.Find(minta) <> -1 cel =

[Gambas-user] Logical error in Gambas2.21

2010-09-27 Thread M. Cs.
PUBLIC SUB MaxFind(tomb AS String[], minta AS String) AS Integer ' A function in Archs module that finds the highest index in the array tomb which contains minta DIM supst AS String[] DIM mfind AS Integer = -1 DIM cel AS Integer supst = NEW String[] supst = tomb WHILE supst.Find(minta) <> -1 cel =