SALVE,
eccomi con un'altro problema:
' Gambas class file
PUBLIC SUB _new()
END
PUBLIC SUB Form_Open()
END
PUBLIC SUB Button1_Click()
DIM lista AS NEW string[]
DIM i AS Integer, QuantitaFile AS Integer
lista = Dir(Application.Path, "*.JPG").Sort()
QuantitaFile = Lista.Count
lista[QuantitaFile + 1] = "Fine" ' ********punto di interruzione****** Out of bounds*******
FOR EACH lista
label1.Text = lista[i]
WAIT 0.3
INC i
NEXT
END
quello che voglio fare è aggiungere un'altro elemento all'ARRAY ma si interrompe alla linea '******...etc .
Come si fà ?
A Presto.....