Hi,
could someone help me with this :
I'm using a array of type :
Sub Globals
Dim Type(Dep, Arr, Fic1, Fic2, Tra) Depart (1)
Then, in a procedure, I'm reading the size of the array :
NbDepart = FileRead (c1)
I'm sizing the array :
Dim Depart (NbDepart)
But then I've got an error when trying :
Depart(0).Dep = 1
---
I've tried to put a fixed size on the array of type and it works.
I've tried to add 1 to NbDepart, to be sure it's concerted to an integer but it does not work.
Any idea ? Is this a bug ?
could someone help me with this :
I'm using a array of type :
Sub Globals
Dim Type(Dep, Arr, Fic1, Fic2, Tra) Depart (1)
Then, in a procedure, I'm reading the size of the array :
NbDepart = FileRead (c1)
I'm sizing the array :
Dim Depart (NbDepart)
But then I've got an error when trying :
Depart(0).Dep = 1
---
I've tried to put a fixed size on the array of type and it works.
I've tried to add 1 to NbDepart, to be sure it's concerted to an integer but it does not work.
Any idea ? Is this a bug ?