Announcement

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

  • Rearrange a list in all possible orders

    Hi statausers,

    I have a very basic question. I need to start from
    Code:
     global variablelist var1 var2 var3 var4 var5
    . And what I want to obtain is all the possible global combinations of these 5 variables. So for example, one possible output would be
    Code:
    global variablelist var2 var3 var4 var5 var1
    Any hint on how to do it?

  • #2
    Code:
    ssc install tuples
    help tuples

    Comment

    Working...
    X