🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.oop.macapp3
Article #290

Re: Record -> Struct

#290
From: Richard Gillam,GEIS
Date: Thu, 21 Jan 1993 14:52
15 lines
834 bytes
Paul--
 
Your problem here is using arrays of characters.  You probably should be able
to assign string literals to it, but you'll get C strings (null-terminated)
rather than Pascal strings.
 
What you probably want to try is creating subclasses of CString of the
appropriate sizes and using those instead.
 
Take this with a grain of salt.  I'm not really sure I can claim to know what
I'm doing.
 
--Rich Gillam
GE Information Services
 
Technical Details
Message-ID: <727630455.7274581@AppleLink.Apple.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!ames!data.nas.nasa.gov!taligent!apple!applelink.apple.com

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!ames!data.nas.nasa.gov!taligent!apple!applelink.apple.com
From: GILLAM.R@AppleLink.Apple.COM (Richard Gillam,GEIS)
Newsgroups: comp.sys.mac.oop.macapp3
Subject: Re: Record -> Struct
Message-ID: <727630455.7274581@AppleLink.Apple.COM>
Date: 21 Jan 93 14:52:00 GMT
Sender: daemon@Apple.COM
Organization: AppleLink Gateway
Lines: 15