Statalist The Stata Listserver


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

RE: st: Mata and nested loops


From   "philippe van kerm" <[email protected]>
To   <[email protected]>
Subject   RE: st: Mata and nested loops
Date   Fri, 24 Feb 2006 15:48:22 +0100

Dave

The answer is probably not where you are looking for it:

Your first example reads

	"for (j=1, j<=3, j++) {"

where it should be

	"for (j=1; j<=3; j++) {"

as in your second example.

Philippe

-------------------------------

st: Mata and nested loops



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