[Gretl-users] on loop command

2011-10-03 Thread artur bala
Hi, Is it possible to make a backward loop work ? I mean :loop i = 1..$nobs I'm going through a matrix hunting for a particular value that I know should be somewhere "at the bottom" of the matrix Hi, Is it possible to make a backward loop work ? I mean : loop i = 1..$nobs I'm go

Re: [Gretl-users] on loop command

2011-10-03 Thread Sven Schreiber
Am 10/03/2011 04:47 PM, schrieb artur bala: > Hi, > Is it possible to make a backward loop work ? I mean :loop i = 1..$nobs well this doesn't look backward to me !? apart from that, loop for (i=$nobs;i>0;i--) or something like that (check the manual, I'm not using that syntax too often) > I'm goi

Re: [Gretl-users] on loop command

2011-10-03 Thread artur bala
Le 03/10/2011 15:56, Sven Schreiber a écrit : > Am 10/03/2011 04:47 PM, schrieb artur bala: >> Hi, >> Is it possible to make a backward loop work ? I mean :loop i = 1..$nobs > well this doesn't look backward to me !? You're right! I meant : loop i = $nobs..1 :-[ > loop for (i=$nobs;i>0;i--) It work