[twsocket] Original way of iterating thru all the bits in an integer

2013-01-05 Thread François Piette
Hi ! I wrote an article about an original way of iterating thru all the bits of an integer. This is the kind of fancy code one could write using recent version of Delphi. I would like to apply this kind of code in ICS, but if I do, it won’t work anymore with the old D7. The final code look

Re: [twsocket] Original way of iterating thru all the bits in an integer

2013-01-05 Thread DZ-Jay
Hi Francois, I was just wondering, what would be a practical application of this routine? Also, being familiar with Assembly, I have to ask: wouldn't it be more efficient to just shift the value to the left directly without the abstraction of the enumerator? dZ. On Jan 05, 2013, at

[twsocket] Posting

2013-01-05 Thread Stewart Obert
Hi, I was recently looking at ICS and considering it as a replacement for Indy for an application which works as an interface for a web application. I wanted to give it a quick try and see how it handles performing a simple login so I put this together using the code from the OverbyteIcsHttpPos

Re: [twsocket] Original way of iterating thru all the bits in an integer

2013-01-05 Thread François Piette
> I was just wondering, what would be a practical application of this routine? As you probably don't know, I'm doing a lot of process control with Delphi. And I frequently have to process bit collections. > wouldn't it be more efficient to just shift the value to the left directly without the