home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / oop / macapp3 / 554 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  809 b 

  1. Path: sparky!uunet!spool.mu.edu!agate!ames!data.nas.nasa.gov!taligent!apple!applelink.apple.com
  2. From: GILLAM.R@AppleLink.Apple.COM (Richard Gillam,GEIS)
  3. Newsgroups: comp.sys.mac.oop.macapp3
  4. Subject: Re: Record -> Struct
  5. Message-ID: <727630455.7274581@AppleLink.Apple.COM>
  6. Date: 21 Jan 93 14:52:00 GMT
  7. Sender: daemon@Apple.COM
  8. Organization: AppleLink Gateway
  9. Lines: 15
  10.  
  11. Paul--
  12.  
  13. Your problem here is using arrays of characters.  You probably should be able
  14. to assign string literals to it, but you'll get C strings (null-terminated)
  15. rather than Pascal strings.
  16.  
  17. What you probably want to try is creating subclasses of CString of the
  18. appropriate sizes and using those instead.
  19.  
  20. Take this with a grain of salt.  I'm not really sure I can claim to know what
  21. I'm doing.
  22.  
  23. --Rich Gillam
  24. GE Information Services
  25.  
  26.