OPEN TO READ FROM DARKBASIC TO AGK
I have an array of random numbers made and written to a file using the open to write command using darkbasic.
I use readfloat in AppGameKit and everything loads ok.
If I go through any of that array that I loaded inside or outside the closefile commands and try to multiply and divide at the same time the number will change to zero
I'm trying to change the numbers to coordinates for percentages
this doesn't happen with arrays assigned values without the readfloat (opentoread) command
Edit*
If I multiply only on one line then divide only on another line outside of the openfile/closefile command it will work
Edit*
I made the data files with darkbasic
-when loaded into agk I saved those datafiles using writefloat to test later in agk again
they both seem to work the same way
-taken into account that darkbasic may have somehow corrupted the read
-the files are different sizes but both work with the same problem mentioned above
-I haven't tested with a random file made in agk, because I got a headache