Le 21/08/2015 02:01, Benoît Minisini a écrit :
> Le 21/08/2015 00:58, martin p cristia a écrit :
>> 'thi is the actual (just what's important) code
>>
>> Public MatRigEst As New Float[]
>>
>> Function calcular() As Integer
>>
>>
>> Dim longo As Long, longo2 As Long
>>
>> ' longo = 1800
Le 21/08/2015 00:58, martin p cristia a écrit :
> 'thi is the actual (just what's important) code
>
> Public MatRigEst As New Float[]
>
> Function calcular() As Integer
>
>
> Dim longo As Long, longo2 As Long
>
> ' longo = 18000 * 6 * 64000 ' = -1677934592 !!!
>
> 'correct value
'thi is the actual (just what's important) code
Public MatRigEst As New Float[]
Function calcular() As Integer
Dim longo As Long, longo2 As Long
' longo = 18000 * 6 * 64000 ' = -1677934592 !!!
'correct value
longo = CLong(18000) * 6 * 64000 ' = 691200
MatRigEs
On Thu, 20 Aug 2015, martin p cristia wrote:
> Hi:
>
> I need a huge array of Floats, use:
>
> longNumber = 4 ' 400M * 8bytes = 3.2GB
>
> Resize fArray[longNumber] ' this gives no error !!!
>
>
> fArray[1] = 1000 ' this gives Out of Bounds
>
> workaround?
>
How does the code real
Hi:
I need a huge array of Floats, use:
longNumber = 4 ' 400M * 8bytes = 3.2GB
Resize fArray[longNumber] ' this gives no error !!!
fArray[1] = 1000 ' this gives Out of Bounds
workaround?
--
Saludos
Ing. Martin P Cristia
-