[A89] Re: Weird problem with some character arrays...


[Prev][Next][Index][Thread]

[A89] Re: Weird problem with some character arrays...




I don't quite get your meaning here... Are you saying using the word copy is
bad. The whole function is bad? Everything in between the definition of copy
and the assignment of the null character at the end is bad.

What does that mean?

John David Ratliff
jdratlif@cs.indiana.edu

-----Original Message-----
From: assembly-89-bounce@lists.ticalc.org
[mailto:assembly-89-bounce@lists.ticalc.org]On Behalf Of Kevin Goodsell
Sent: Monday, May 28, 2001 12:25 AM
To: assembly-89@lists.ticalc.org
Subject: [A89] Re: Weird problem with some character arrays...



> char copy[40];

...

>
> copy[40] = 0;

Bad idea.

-Kevin







Follow-Ups: References: