P pjrebordao Member Jul 3, 2020 #1 In my app I define a public array of 10000 chars. I assign values to it in a sub and immediately after, log the value just written to it in order to confirm a "good write". Later on, in another sub but in the same activity, i read that array one by one, in order to write the content to a text file. However, most of the values disappear ("0"s appear instead, while others appear corrupted... Any ideas ?
In my app I define a public array of 10000 chars. I assign values to it in a sub and immediately after, log the value just written to it in order to confirm a "good write". Later on, in another sub but in the same activity, i read that array one by one, in order to write the content to a text file. However, most of the values disappear ("0"s appear instead, while others appear corrupted... Any ideas ?
techknight Well-Known Member Licensed User Longtime User Jul 6, 2020 #3 Solved with no explanation of what you did or why. Love these threads. Upvote 0
P pjrebordao Member Jul 6, 2020 #4 I love to be of help... There was no further explanation because it was a logic error on my part - indexes were wrong. Upvote 0
I love to be of help... There was no further explanation because it was a logic error on my part - indexes were wrong.