Hi all,
I had trouble using array in a state machine or a program. This code :
var array myArray(10); for (var int cpt = 0; cpt < 10; set cpt = cpt +1 ) { set myArray[cpt] = cpt; }
This code :
var array myArray(10); for (var int cpt = 0; cpt < 10; set cpt = cpt +1 ) { set myArray[cpt] = 1.0*cpt; }
Bug using array in script
On Thursday 10 June 2010 18:47:00 nicolas [dot] mabire [..] ... wrote:
> Hi all,
>
> I had trouble using array in a state machine or a program.
> This code :
>
> can produce nan values, or even a segfault.
>
> This code :
>
> seems to run well.
>
I'll create a bug report for this. Is this 1.8 or 1.10 ?
Peter
Bug using array in script
This is in 1.10. I did not made the test for other releases.
Nicolas.
Bug using array in script
This is in 1.10. I did not made the test for other releases.
Nicolas.
Bug using array in script
Hi all,
I had trouble using array in a state machine or a program.
This code :
can produce nan values, or even a segfault.
This code :
seems to run well.