Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: re: while looping

From   xiaotang li <>
Subject   Re: st: RE: re: while looping
Date   Wed, 20 Aug 2003 03:08:44 -0700 (PDT)

Hi, Nick,

Thanks for your kind help. I can simply do the
following just by running do "C:\.....\.do" in the
command box. But still don't understand how to run the
program. I define the program in the do-file and run
it by typing 'do....' in the command box, but seems it
is not the correct way. I can't find related
information in the 'help'.

matrix A = J(3,3,1)
	matrix list A
	forval i = 1/4 { 
		matrix A = 2 * A
		matrix  li A 

Sorry for taking your time.


Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
*   For searches and help try:

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