> >   which is probably where you stack runs out.. :) [as a rough guess]
> > 
> >   the code here does not state where you are running this stuff from
> >   (local, global etc).. nor do you state what machine you are using
> >   Palm Pro, III, IIIx or V.
> 
> The 'line' is a global var, and the machine is IIIX. any other
> good suggestion?

  hmmm.... how does it run under the emulator? 

  i just looked at the code again, you might want to double check 
  it..

---
> > CharPtr line[1000];
> > UInt i;
> > 
> > for (i=0;i<1000;i++){
> >     line[i]=MemPtrNew(14);
> >     StrCopy(Q9Word[i],"today is fine");
> > }
---

  should it say:

---
> > CharPtr line[1000];
> > UInt i;
> > 
> > for (i=0;i<1000;i++){
> >     line[i]=MemPtrNew(14);
> >     StrCopy(line[i],"today is fine");   <-- note change
> > }
---

  you are using a variable called Q9Word, maybe it has only 600 
  elements, and thats why it fails, when it tries to overwrite
  past the last index.

  (hopefully) this is the error :) - as then it was simple to
  fix. :>

  cheers.

az.
--
Aaron Ardiri 
Lecturer                       http://www.hig.se/~ardiri/
University-College i G�vle     mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN       
Tel: +46 26 64 87 38           Fax: +46 26 64 87 88
Mob: +46 70 352 8192           A/H: +46 26 10 16 11


Reply via email to