i declare my global as below

typedef struct
  {
    float rdata;
    float tdata;
  }  MyChangeListType;
static MyChangeListType  MyChangeArray[10];

at the startapp, i get data from database to array .
 And there is only  one procedure i modify the array  and then save the
modify to database , but mostly i  did not run that procedure .
more often ,i get the data from the RS232 , then  change the RS232 data to
another array using MyChangeArray .

in my program i find that at the startapp ,data in MyChangeArray is correct
,but when i use them to change the RS232's  data , they are not same as  at
be startapp procedure ,and at that time i have not modified MyChangeArray.
                jason

> How exactly are you declaring this array?  Are you seeing this change
> within one program run, or from one execution of the program to the
> next?  You don't provide enough information to really figure out what is
> going on.
>
> --
> Ben Combee <[EMAIL PROTECTED]>
> CodeWarrior for Palm OS technical lead
> Palm OS programming help @ www.palmoswerks.com
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to