by plinydogg » Tue Mar 28, 2006 10:43 pm
Instead of this:
save = name.text;
Use this:
strcpy(save, name.text);
This copies the contents of name.text into the save variable. You can't do it the same way that you assign a number value to a variable (which is in effect what you're doing by using the code save = name.text;).
As far as I know, every time you want to do anything with strings, you have to use strcpy(). Examples:
strcpy(save, name.text); //copies the contents of name.text into save
strcpy(name.text, save); //copies the contents of save into name.text
I hope this helps solve your problem. And you don't have to thank me for my patience. I had the exact same problem you're having and others were patient enough to help me, so it's the least I can do....I just hope that it works!