Interested in programming since an early age; decades as a hobbiest and teacher. These days working a lot with JavaScript and Python, but I try to explore everything.
I just tried that and did a little more testing; it seems that when I load the next json file as an object it ends up checking both of the two seperate files at once. Do you have any ideas as to how to fix that?
For further actions, you may consider blocking this person and/or reporting abuse
Where hackers, sticks, weekend warriors, pros, architects and wannabes come together
I think what you need is a boolean flag. It would look something like this:
and then after the loop you put a conditional:
That conditional would replace the part inside the loop that starts with
I just tried that and did a little more testing; it seems that when I load the next json file as an object it ends up checking both of the two seperate files at once. Do you have any ideas as to how to fix that?