Re: Using variables in a loop.
Posted: May 1st, 2018, 8:30 pm
This is what doesn't make sense to me. For the procedure to be able to overwrite what the bang wrote, it means that it knows what was in the file before the bang occurred, which shouldn't be happening as the "io.open" hasn't been executed yet...balala wrote: ...
- If the Bang is before the open-write-close procedure, the bang writes the appropriate value into the file, but then the open-write-close procedure overwrites what the Bang wrote.
...