yes, I was just experimenting with strcpy but I tried this: char *fencevalue; strcpy(fencevalue,GetOption()); char *gridvalue; strcpy(gridvalue,GetOption()); but this won't work either will it? :-) OK, I'll do what you suggested, thanks. Thanks for your help and time. -- Douglas Zander