develooper Front page | perl.perl6.language.subs | Postings from September 2003

Re: could u help me please?

Thread Previous
Paul Johnson
September 26, 2003 12:37
Re: could u help me please?
Message ID:
On Thu, Sep 25, 2003 at 09:16:43AM -0700, Shannon Francis wrote:

> i tried to build a program and have only one error but seem not to be
> able to fix it. i think it is a rather small one. i would really
> appreciate it if you help me with this situation:
>  if (num1 %2 =0)
> the error is: error C2106: '=' : left operand must be l-value.
> thank you very much. i await your answer.

Wow!  How did you find this list?  The last message I got here was over
two years ago.

And how did you choose this list?  Its name has little to do with your

In any case, try

    if (num1 % 2 == 0)

and look for a C list or newsgroup for any subsequent problems you might

Paul Johnson -

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About