Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dropping data frames

    Hello All,

    just a quick question: is there any deep underlying reason why I can do
    Code:
    drop var1 var2
    but can't do
    Code:
    frame drop frame1 frame2
    ?

    (results in error 7 something found where nothing expected)

    Thank you, Sergiy Radyakin

  • #2
    Deep? Not likely. More likely it is for the superficial reason that the syntax for frame drop supports exactly one frame name. A simple for loop will achieve the effect, and I don't see why that couldn't be incorporated in the command. It's very common to want to stop several variables at once, but people usually work with one or few frames at a time, so my guess is there want much need to drop frames in bulk. I also don't think it's reasonable to necessarily expect the same syntax/behaviour for two similarly named commands.

    Comment

    Working...
    X