- Subject: Re: while()
- From: "John E. Davis" <davis>
- Date: Thu, 26 Apr 2001 13:26:11 -0400
Quang Nguyen (Ngo) <quang@xxxxxxxxxxxx> wrote:
>I'm not sure which compiler you're using, but assignment expressions do
>return a value. So, the following is okay:
>
>while ((handle = getnextresult()) != NULL)
> {
> ...
> }
He was not asking a C question, but a slang one. In the slang
language, assignment expressions do not return a value.
--John
[2001 date index]
[2001 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]