i declare my global as below

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

Now for how to use it:

 1.At the startapp, i get data from database to array .

 2.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 .

There is the trouble:
  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



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

Reply via email to