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


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

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




Hi!

> Password is a Public static 10 element array defined as follows
> static int Password[10];

Initialize it!!! Do:

static int Password[10]={};

This is described in the documentation (section "How to make a
nostub program")!!! And I think that this is explained even in
the FAQ list...

> the var Key is also static and Public...for now the key is always 12
> static int Key=12;
> 
> void CryptDecrypt()
> {
>   int I;
>   for(I=0;I<10;I++)
>   Password[I]^=Key;    /*This line seems to create the problem */
> }
> 
> Thanks for your help!

I hope that it will help.

Cheers,

Zeljko Juric