help for this code



if(3<4 && 3<5)
{
disp('X in class A')
tempa=v(1,1)+1;
v(1,1)=tempa;
}

where
v =

4 4 5
6 7 5
5 4 9
1 0 0

temp=0;
i am writing this code inside {} then it is showing following error
??? tempa=v(1,1)+1;
|
Error: The expression to the left of the equals sign is not a valid
target for an assignment.

but if i remove the { } then it is working properly
plz tell me reson
.



Relevant Pages

  • Re: Orson Scott Card, best living author PERIOD?
    ... I am, perhaps, showing my ... >>ignorance, but the man has a solid career of writing and editing, not to ...
    (rec.arts.sf.written)
  • Re: This is brilliant! Just look how long it is! Ha ha ha ha ha ha
    ... > "Effectively showing code so it confuses newbies is a main objective ... > in writing almost all my web articles. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Racefail - Usenet Uber Alles
    ... James can still call them "the white ... man showing up", if he wants, even though they showed ... up in mumblety BC. ... The writing is in each case a writing ...
    (rec.arts.sf.written)
  • VBA for Month and Quarters Output
    ... I am new to writing in VBA, but I would like to write a function, where the ... range in a single row of an indefinite number of columns (to be determined by ... end of every fiscal quarter showing the quarter and year. ...
    (microsoft.public.excel.programming)
  • Re: jvm Design
    ... can i.what are the basics that i should learn.any ideas plz ... The work is not the JVM proper. ... than writing a FORTH interpreter. ...
    (comp.lang.java.programmer)