I thought I should mention this here, in case it helps anyone else, and also because I'm not sure it warrants going in the Bug Reports (it may be just my bad programming habits)
---------------------
Here is an example of what I had:
Which gave really large numbers, completely inaccurate results. I thought it may be adding the memory reference of the 'DataFile' handle, but it didn't even seem to tally with that.
I solved it, very simply by adding another line with a temporary value:
---------------------
Here is an example of what I had:
DataFile=OpenFile("Filename.txt") Initial_Value=10 New_Value=(Initial_Value+(ReadLine(DataFile)) CloseFile(DataFile)
Which gave really large numbers, completely inaccurate results. I thought it may be adding the memory reference of the 'DataFile' handle, but it didn't even seem to tally with that.
I solved it, very simply by adding another line with a temporary value:
DataFile=OpenFile("Filename.txt") Initial_Value=10 Temporary=ReadLine(DataFile) CloseFile(DataFile) New_Value=Initial_Value+Temporary