Path: utzoo!attcan!uunet!ns-mx!iowasp!deimos!ux1.cso.uiuc.edu!brutus.cs.uiuc.edu!zaphod.mps.ohio-state.edu!swrinde!ucsd!ucbvax!hoptoad!tim From: tim@hoptoad.uucp (Tim Maroney) Newsgroups: comp.sys.mac.programmer Subject: Re: String Copy in THINK C 4.0 Message-ID: <10117@hoptoad.uucp> Date: 8 Feb 90 07:29:55 GMT References: <2083@quiche.cs.mcgill.ca> <2826@draken.nada.kth.se> <34105@ucbvax.BERKELEY.EDU> <2834@draken.nada.kth.se> <6548@internal.Apple.COM> <16666@boulder.Colorado.EDU> Reply-To: tim@hoptoad.UUCP (Tim Maroney) Organization: Eclectic Software, San Francisco Lines: 23 In article <6548@internal.Apple.COM> dwb@archer.apple.com (David W. Berry) writes: >> Actually, it's not such a special case. A legal pascal string >>may have up to 255 characters. Any more than 127 is going to cause a >>sign extension problem. Remember, there defined using char, not unsigned >>char. In article <16666@boulder.Colorado.EDU> pratt@boulder.Colorado.EDU (Jonathan Pratt) writes: >No, in THINK C you have > >typedef unsigned char Str255[256]; > >so there isn't sign extension. The same in MPW C 3.0. Perhaps our colleagues are thinking of older versions? -- Tim Maroney, Mac Software Consultant, sun!hoptoad!tim, tim@toad.com Feminism that refuses to use the word "patriarchy" is kin to abolitionism that refuses to use the word "slavery".