Quick way to clear all variables?

  • Filter
  • Time
  • Show
Clear All
new posts

  • Quick way to clear all variables?

    I'm writing a program right now that's trying to hang on to variables between iterations. Since it's making different sized arrays for each run through, it'll sometimes leave the previous values if the new array is smaller.

    Is there a quick way to wipe all variables at the beginning of a program? Like a CLEARVARS or something?

  • #2
    At the beginning of your program, you could just make all of your variables equal zero.


    • Douglas
      Douglas commented
      Editing a comment
      rational suggestion as always... in spite I suggest he use pi

    • ajlee7
      ajlee7 commented
      Editing a comment
      Was hoping that wouldn't be the case, oh well.
      Douglas In an act of defiance, I will be assigning all variables equal to the Planck constant

Related Topics