slang-users mailing list

[2001 Date Index] [2001 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

while()


Hi,

Am I right that this little piece of code doesn't work ?
I get an stack underflow with it :

while((handle=getnextresult())!=NULL)
{
  ...
}

getnextresult() will return NULL when there is no next result.
thanks,

Richard van Zon.


[2001 date index] [2001 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]