🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #1220

Need help in THINK C

#1220
From: Gary Parnes
Date: Sun, 22 Oct 1989 18:45
18 lines
1559 bytes
I've started programming on my Mac, finally.  BTW, thanks to all of you
who pointed me toward the Programmer's Primer... it really helped.

I have a problem...  How do you copy a string from a dialog EditText item
into a character array?  I want to copy it to a new memory location so I can
take it apart and do unspeakable things to it, etc.  But, every time I try
locking down the handle and copying the string using strcpy, the computer
locks.  Even the onboard debugger doesn't offer any useful error messages.

Anyone know what to do?
						Gary

/=============================================================================\
| "You're obviously misinformed... everything  |  Gary Parnes		      |
|  EAST of the San Andreas Fault is going to   |  Computer Science Engineer   |
|  fall into the ATLANTIC Ocean."              |  University of Pennsylvania  |
|   *** parnes@eniac.seas.upenn.edu ***        |  *NOT* Penn State, Dammit!   |
\=============================================================================/
Technical Details
Message-ID: <15790@netnews.upenn.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!tank!eecae!netnews.upenn.edu!eniac.seas.upenn.edu!parnes
References: <5306@lindy.Stanford.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!tank!eecae!netnews.upenn.edu!eniac.seas.upenn.edu!parnes
From: parnes@eniac.seas.upenn.edu (Gary Parnes)
Newsgroups: comp.lang.postscript,comp.sys.mac
Subject: Need help in THINK C
Keywords: C programming
Message-ID: <15790@netnews.upenn.edu>
Date: 22 Oct 89 18:45:39 GMT
References: <5306@lindy.Stanford.EDU>
Sender: news@netnews.upenn.edu
Reply-To: parnes@eniac.seas.upenn.edu.UUCP (Gary Parnes)
Organization: University of Pennsylvania
Lines: 18