[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: reverse variable order

From   "Buzz Burhans" <>
To   <>
Subject   st: reverse variable order
Date   Mon, 16 Jul 2007 21:19:41 -0600

Dear listers,

Is anyone aware of a shortcut / easy way to reverse the order of all or some
variables in a dataset without specifying -move- or -order- for each
variable specifically or individually?

I have data that comes in looking like:

Var1 var2 var3 x1 x2 x3...xn

Where xn is a series of variables with sequential suffix n and the value of
n varies with the data source.  I need to reverse the order of the to 

Var1 var2 var3 xn...x3 x2 x1


Buzz Burhans

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index