On 18 Apr 2011, at 03:54, Quincey Morris wrote:
>
> On Apr 17, 2011, at 13:09, JAMES ROGERS wrote:
>
>> char sndBuffer[65];
>> int j;
>>
>> characterIndex++; // is always sitting at the last character sent so
>> advance to the next character in string.
>> for (j = 0; j < 65; j++) {
>> snd
On Apr 17, 2011, at 14:08, JAMES ROGERS wrote:
> I have stepped this through with the debugger and no flags were raised. The
> code compiles without an error or a warning of any kind. I am afraid your
> response has overwhelmed me.
>
> One thing I will mention, I am not changing string. So tha
On Sun, Apr 17, 2011 at 4:08 PM, JAMES ROGERS wrote:
> I have stepped this through with the debugger and no flags were raised. The
> code compiles without an error or a warning of any kind. I am afraid your
> response has overwhelmed me.
You didn't see it in the debugger because you aren't usin
Mike, thanks for your response. I looked at -substringWithRange but could not
discern how exactly I would apply it. I will take another look.
Thanks, Jim
On Apr 17, 2011, at 3:22 PM, Mike Abdullah wrote:
> Why not use -substringWithRange: ?
>
> On 17 Apr 2011, at 21:09, JAMES ROGERS wrote:
>
>
Quincy,
I have stepped this through with the debugger and no flags were raised. The
code compiles without an error or a warning of any kind. I am afraid your
response has overwhelmed me.
One thing I will mention, I am not changing string. So that point is a moot
one. I am just copying data o
On Apr 17, 2011, at 13:09, JAMES ROGERS wrote:
> char sndBuffer[65];
> int j;
>
> characterIndex++; // is always sitting at the last character sent so advance
> to the next character in string.
> for (j = 0; j < 65; j++) {
>sndBuffer[j] = [string characterAtIndex:characterIndex];
>chara
Why not use -substringWithRange: ?
On 17 Apr 2011, at 21:09, JAMES ROGERS wrote:
> I know there must be a better way but this was all I could come up with as a
> rookie cocoa programmer to get a substring out of a very long NSString from
> a textView growing as the operator types in the messag
I know there must be a better way but this was all I could come up with as a
rookie cocoa programmer to get a substring out of a very long NSString from a
textView growing as the operator types in the message content. The receive
buffer in the chip I am talking to will only take 80 characters b