Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CLEAR command
#21
One way to clear a slew of variables in main code is to convert a section into a sub, call the sub to do the section when exit those variables are all erased to my understanding of how these things work. But really now days, when memory is so cheap, this is extreme method to save a little bit of variable space.

But the idea of breaking code up into smaller chunks does serve more uses than a little bit of memory savings. It helps make code easy to understand and debug and thus to update with new features. I think it's called refactoring.
b = b + ...
Reply




Users browsing this thread: 1 Guest(s)