Message-ID: <1076358699.e688231efb5ee@webmail.auckland.ac.nz>
Date: 2004-02-09T20:31:39Z
From: Ko-Kang Kevin Wang
Subject: Printting 'for' and 'while' indices
In-Reply-To: <002c01c3ef40$20297880$d297a8c0@opinionserver>
Quoting Marcos Sanches <marcos.sanches at ipsos-opinion.com.br>:
> I mean, I want something like this:
>
> i<-0
> While(i<100){
> "do a lot of commands"
> "print i"
> i<-i+1
> }
>
> How do I "print" the "i" at each step?
Is
print(i)
what you want?
Cheers,
Kevin
------------------------------------------------------------
Ko-Kang Kevin Wang
SLC Statistics Workshops Co-ordinator
Student Learning Centre
University of Auckland
New Zealand
-------------------------------------------------
This mail sent through University of Auckland
http://www.auckland.ac.nz/