Re: A89: Re: Preliminary TI-GCC IDE update


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

Re: A89: Re: Preliminary TI-GCC IDE update




i didn't think about that.  you will lose the value of the array if you do
it that way (i think).  but i do think it has something to do with that bug
in TIGCC.

Mark Leverentz
----- Original Message -----
>
> ok so if I declare Password as below won't I loose the effect of saving
the
> array between runnings of the program? TRUE?
>

> >
> > There is a bug in TIGCC involving uninitialized static variables.  I
think
> > you might want to declare password like this:
> >
> > static char Password[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
> >
> >
> > Mark Leverentz
> >




References: