On Mon, Apr 7, 2014 at 7:59 AM, Ruben J=F6nsson wro= te: > > > > Is the multiple test on the while not more elegant (the first test whic= h > > fails drops out of the while test, thus achieving exactly the same as t= he > > code above)? I have to admit I certainly prefer testing =3D=3D HTTP_REA= D_OK > > rather than !=3D HTTP_READ_OK > > > > Chris > > There are some restrictions for this code, one is that all data needs to = be > received at once. This is clearly stated in the comments and also on the > page > which the web browser redirects to in case of a failure. > > This is just an example. > Are you suggesting that there is something in my version which would cause an issue with that? All the function calls and tests in the critical loop are identical. I'd expect it to compile to something at least as efficient as the original code. Chris --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .