I'm writing a program to read GIFs and using lists extensively to store the image data and the output image pixels and coming across some pecularities
Basically been building the program up - all working (or at least , all mistakes due to me)
Then I noticed one of my lists going a bit off-piste and eventually traced it to it being affected by changing the contents of a different list!
I've managed to change my code around to avoid the issue occurring but I've not come up with a simple case to show it
Just reporting it in, in case its a new phenomenon or one that's been seen before
[serious]List action affecting other list
Moderator: MSandro
[serious]List action affecting other list
Last edited by SimpleSi on Oct 24th, '17, 11:13, edited 1 time in total.
Re: List action affecting other list
This is the simplest code I can come up with that shows the bug
Summary
codeTable list is being changed when a different variable (newCode list) is being changed
Note - there are many workarounds for the issue but I don't think the bug should arise in the 1st place
Summary
codeTable list is being changed when a different variable (newCode list) is being changed
Note - there are many workarounds for the issue but I don't think the bug should arise in the 1st place
- Attachments
-
- 2bug.gpp
- (7.64 KiB) Downloaded 279 times
Re: [serious]List action affecting other list
See the thread "Two lists sharing data values" viewtopic.php?f=12&t=363&sid=afd241ed41 ... 60163d7ad1