[Limdep Nlogit List] Looping
Steven Yen
syen at utk.edu
Thu Nov 16 01:37:34 EST 2006
I need to program with do loops but cannot get this simple one to
work right. Can someone help? I very much like to get both options
(below) to work. Thanks.
calc ;k=0 $
do for ;10 ;i=1,3 $
calc; k=k+1 $
? calc ;list ;i $ ? Had expected this to work but got an error message
calc ;list ;k $ ? So I tried this
enddo ;10 $
? Had expected to print 1, 2, 3 through the loop but got only 1
? Help!
More information about the Limdep
mailing list