F
fb
William said:So....that told you what the problem is?
I thought it might have...I was going to check it later, though at first
glance in did seem fine to me (assuming 8 bit bytes).
Watch out - you're hand waving it. I get the impression you
aren't trying to understand what the problem is, you are just
wanting someone to tell you what code to throw at the compiler.
umm...I don't want to admit that...but it's kinda true. I had been
staring at it for a while and gave up...posted this message and left.
Otherwise you should have asked what could possibly be wrong with
that line. It should work for you - but it is not robust and,
conceivably, might not work on your machine - and even if it did
have a problem it wouldn't yield the result you are experiencing.
But I'm not getting the impression that understanding the
relationship between your code and the results your code produce
is very high on your priority list.
I can't say that I cared at that point in time, though a good nights
sleep fixed that...I'll take a few breaths and think about it next time.
ciao.