Loading ...
Sorry, an error occurred while loading the content.

20478Re: [Clip] Re: modifying format of stats tool output & concatenating stats from many files

Expand Messages
  • Sheri
    Mar 2 8:05 AM
      On 3/2/2010 8:56 AM, diodeom wrote:
      > "Sheri"<silvermoonwoman@...> wrote:
      >> I wrote:
      >>> And I'd guess ^!Set %varnames%="" may be a leftover from
      >>> before :Clear existed?
      >> There is this in the docs:
      >> "If you assign an empty value to an array variable, or use the
      >> ^!Set command to assign a new value to it, the array is
      >> automatically removed from memory."
      >> ... so out of an abundance of caution, I set the array variable
      >> equal to empty string before using ClearVariable on it.
      > My overly concise suggestion didn't imply it well: it was because I'm aware of what setting a variable to empty does — and of your high standards — that I assumed you didn't mean to do the same thing twice. I speculated that maybe as you were writing this clip, initially ^!Set %varnames%="" was the last line, and after adding a provision for cases where no variables are captured, which called for a label :Clear, its removal was overlooked (or an alternative of just placing the label right above it). Sorry, Sheri; I'm sure it's not the last time I guessed incorrectly. (I'm also quite certain it won't stop me from trying... :)

      LOL. I'm deleting the line, this clip doesn't even create an array for
      varnames. Probably an earlier version did. Will try to pay better
      attention next time.

    • Show all 26 messages in this topic