02-02-2017 06:12 PM
I have a data file like
input var x_1 x_3 x_bac x_1dnx b ;
0 1 1 1 1 0
I want to put all X_ to the end, since there are hundred of X_ variable and they follow no rule other than the prefix of X_, is there any way to do it quicky?
02-03-2017 07:10 AM
@data_null__ very cool solution
Just to understand, when we use the if 0 trick, we make sure that whatever follows is only done in compilation right?
02-07-2017 09:46 AM
But what does the "if 0" do to the code?
It is an expression that is FALSE preventing the SET statement from being executed. The SET statement is compiled which places variables in the PDV in the desired order.
Need further help from the community? Please ask a new question.