The following code snippet
throws the error
Thanks, positrom2
B4X:
852 Dim mittelwert As Double, streuung As Double, s As Double
For j=2 To steps-1
s=s+maxr_array(j,0)
Next
mittelwert=s/(steps-2)
s=0
For j=2 To steps-1
s=mittelwert-maxr_array(j,0)
s=s+Power(s,2)
Next
streuung=Sqrt(s/(steps-2))
Those variables are not declared elsewhere.Error description: Current declaration does not match previous one.
Previous: {Type=Float,Rank=0}
Current: {Type=Double,Rank=0}
Occurred on line: 852
Dim mittelwert As Double, streuung As Double, s As Double
Word: ,
Thanks, positrom2