I want to directly assign string to a array of charptr, like the
following,

CharPtr line[1000];
UInt i;

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


when the i is up to 600, the emulator say "bus error", what's the problem?
or any other way to directly assgin a string to a CharPtr ?

        Thanks a lot!!!

Eric
 

Reply via email to