Skip to content
Back to formatted view

Raw Message

Message-ID: <XFMail.090228001613.Ted.Harding@manchester.ac.uk>
Date: 2009-02-28T00:16:13Z
From: (Ted Harding)
Subject: While with 2 conditions
In-Reply-To: <22252945.post@talk.nabble.com>

On 27-Feb-09 19:37:50, MarcioRibeiro wrote:
> 
> Hi listers,
> I check it out at the messages... But I didn't find how do I use
> the while with 2 conditions...
> while (a>1 ????? b>1){
> a<-2
> b<-2
> }
> Should I use what...
> Thanks in advance,
> Marcio

while((a>1)&(b>1)){
  a<-2
  b<-2
}

is the way to combine the two conditions. However, I would not
want to run that particular little program ...

Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding at manchester.ac.uk>
Fax-to-email: +44 (0)870 094 0861
Date: 28-Feb-09                                       Time: 00:16:10
------------------------------ XFMail ------------------------------