Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!rutgers!mephisto!prism!sun13!gw.scri.fsu.edu!pepke From: pepke@gw.scri.fsu.edu (Eric Pepke) Newsgroups: comp.sys.mac.programmer Subject: Re: Danger Will Robinson, traps for young player. Message-ID: <435@sun13.scri.fsu.edu> Date: 20 Aug 90 14:54:46 GMT Sender: news@sun13.scri.fsu.edu Organization: Florida State University, but I don't speak for them Lines: 21 References:<11591@wehi.dn.mu.oz> <1990Aug20.033702.5883@cs.uow.edu.au> <1268.26d02745@waikato.ac.nz> void pstrcpy(s2, s1) unsigned char *s2, *s1; /*Copies a pascal string from s1 to s2*/ { register int n; n = *s1; do { *s2++ = *s1++; } while (n--); } It's not optimized for speed, but so what. Eric Pepke INTERNET: pepke@gw.scri.fsu.edu Supercomputer Computations Research Institute MFENET: pepke@fsu Florida State University SPAN: scri::pepke Tallahassee, FL 32306-4052 BITNET: pepke@fsu Disclaimer: My employers seldom even LISTEN to my opinions. Meta-disclaimer: Any society that needs disclaimers has too many lawyers.