Re: [wxlua-users] wxLua URL input stream Read() is not working.

2010-08-10 Thread Lostgallifreyan
Lostgallifreyan wrote: (10/08/2010 21:38) >John Labenski wrote: >(10/08/2010 19:28) > >>function iff(a, b, c) if a then return b else return c end end >> >. >. >. >>print(string.format("%d: %d : %d : Err %d : '%s'\n", i, S:LastRead(), >> iff(S:Eof(), 1, 0), U:GetError(), a)) > >My turn for

Re: [wxlua-users] wxLua URL input stream Read() is not working.

2010-08-10 Thread Lostgallifreyan
John Labenski wrote: (10/08/2010 19:28) >function iff(a, b, c) if a then return b else return c end end > . . . >print(string.format("%d: %d : %d : Err %d : '%s'\n", i, S:LastRead(), > iff(S:Eof(), 1, 0), U:GetError(), a)) My turn for a small neat idea. :) Instead of writing a function to

Re: [wxlua-users] wxLua URL input stream Read() is not working.

2010-08-10 Thread Lostgallifreyan
John Labenski wrote: (10/08/2010 19:28) > >On Tue, Aug 10, 2010 at 10:05 AM, Lostgallifreyan >wrote: >> Can anyone tell me why this fails? > >Unfortunately no, but http://www.google.com and yahoo.com work fine. > For a moment there I took that to be a terse recommendation for searching. :) >

Re: [wxlua-users] wxLua URL input stream Read() is not working.

2010-08-10 Thread John Labenski
On Tue, Aug 10, 2010 at 10:05 AM, Lostgallifreyan wrote: > Can anyone tell me why this fails? Unfortunately no, but http://www.google.com and yahoo.com work fine. > It seems that while the code 'CanRead()' the URL's stream just fine, it > cannot actually 'Read()' it at all! > Substituting other