Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!mailrus!ncar!boulder!pratt From: pratt@boulder.Colorado.EDU (Jonathan Pratt) Newsgroups: comp.sys.mac.programmer Subject: Re: String Copy in THINK C 4.0 Summary: It does work in THINK C! Message-ID: <16666@boulder.Colorado.EDU> Date: 7 Feb 90 19:26:34 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> Sender: news@boulder.Colorado.EDU Reply-To: pratt@boulder.Colorado.EDU (Jonathan Pratt) Organization: University of Colorado, Boulder Lines: 18 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. All of a sudden it's a much rarer problem... No, in THINK C you have typedef unsigned char Str255[256]; so there isn't sign extension. Jonathan /* Jonathan Pratt Internet: pratt@boulder.colorado.edu * * Campus Box 525 uucp: ..!{ncar|nbires}!boulder!pratt * * University of Colorado * * Boulder, CO 80309 Phone: (303) 492-4293 */