Re: [R] wrong if-else syntax

2009-05-04 Thread Duncan Murdoch
On 04/05/2009 5:08 AM, mau...@alice.it wrote: What is wrong in the following nested if-else statements: if (Condition_1) { # begin IF_1 statement_1 statement_2 statement_3 if (Condition_2) { # begin IF_2 a<- a +1

[R] wrong if-else syntax

2009-05-04 Thread mauede
What is wrong in the following nested if-else statements: if (Condition_1) { # begin IF_1 statement_1 statement_2 statement_3 if (Condition_2) { # begin IF_2 a<- a +1 } # end IF_