reading integer give a random number
Posted: Sat Apr 29, 2023 9:59 pm
i use this code:
This code gives no errors but when the data is readed, the numbers in the array makes no sence.
the number displayed are :
This is not the numers i did write down in de data.
What is wrong here. Or do i have a bug found?
Code: Select all
Procedure SRivPlop()
Protected X.i,
Dim SRivMatrix.i(5)
Restore SRiv
For X = 0 To 5
Read.i SRivMatrix(x)
Next
CallDebugger
Sriv:
DataSection
Data.i 0, 0, 3, 3, 0, 0
EndDataSection
EndProcedure
SRivPlop()
the number displayed are :
Code: Select all
-1729382256562026680
5818704903870087214
5846490494384949328
5212952597069561856
2948876202223619211
-4286503255484888088
What is wrong here. Or do i have a bug found?