Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!quiche!monching From: monching@quiche.cs.mcgill.ca (Patrick WONG) Newsgroups: comp.sys.mac.programmer Subject: String Copy in THINK C 4.0 Message-ID: <2083@quiche.cs.mcgill.ca> Date: 2 Feb 90 02:24:48 GMT Reply-To: monching@quiche.cs.mcgill.ca (Patrick WONG) Organization: SOCS, McGill University, Montreal, Canada Lines: 14 I am having problems in figuring out what is the proper way to copy a pascal sting in think C. The only way I know is converting the pascal sting to a C string then doing a standard c strcpy and then convert the c strings back to pascal strings. This pretty nasty seeing that in pascal we just have to use a simple assignment with an atomic operator (eg. thisString := thatString). If anyone has a better way please let me know through e-mail. Thanks. -- patrick wong | McGill University | \\// monching@quiche.cs.mcgill.ca | School of Computer Science | || | Montreal, Quebec | --