On Wednesday, March 23, 2005, at 10:02 PM, Ted Spencer wrote: > Just the same, I think you should add the string$$[x] capability to > the compiler. In your spare time. I'll add it to my list. Where did I put my list? Wait.... I don't have a list. Well, I'll add it to something, somewhere, sometime. :-) Actually, the coding would be simple, but this requires a compiler change, which is completely beyond the realm of my capabilities. That's an Andy job, and he & Staz are busy frying bigger fish. I doubt this will make it to his list. e-e =J= a y " PS. Can you substitute this? It is completely devoid of error checking(!!!), but should be functionally equivalent to ctnr$$[x]. My tests have it retrieving every char in a million-byte ctnr in 0.257 seconds on my pokey old G4, or more than 20 times faster than mid$$. local mode local fn CtnrByte(@C as ptr, x as long) ' to get Ctnr$$[x]... theByte` = fn CtnrByte(Ctnr$$, x) end fn = | [ C.0& ] + x - 1 | BTW, if I incorporate the error checking that would be required to add this to FB as ctnr$$[x], it is roughly the same speed as MID$$. So speed comes at a price. Be warned. -- To unsubscribe, send ANY message to: futurebasic-unsubscribe@...