Path: utzoo!mnetor!uunet!husc6!mit-eddie!uw-beaver!cornell!rochester!udel!princeton!phoenix!pucc!MJSCHMEL From: MJSCHMEL@pucc.Princeton.EDU (Michael J. Schmelzer) Newsgroups: comp.sys.mac.programmer Subject: String Summary! Message-ID: <4637@pucc.Princeton.EDU> Date: 4 Mar 88 18:47:35 GMT Reply-To: MJSCHMEL@pucc.Princeton.EDU Organization: Princeton University, NJ Lines: 20 Disclaimer: Author bears full responsibility for contents of this article Thanks to everyone who helped. (no thanks to those who ridiculed my problem. phffft!) Here's the summary: MPW glue routines automatically convert C strings in parameter lists of functions that take Str255's. (All except for the first such function I tried: DebugStr(), hence my extended confusion.) (the function you should try in that case is cDebugStr(), I hear.) So in other words, if I had just done the simplest thing and put C strings in the parameter list (which I was _sure_ was wrong!) I'd have had no problems at all. I think I prefer LSC's way of handling this problem ("\pstrings") to MPW's. I'm not sure which is more elegant or kludgey, but when I get more experience with MPW, I'll give you a much more informed opinion if you're interested. Thanks again. comp.sys.mac.programmer has earned its keep as far as I'm concerned. ============================================================================== comes around Mike Schmelzer MJSCHMEL@PUCC.Princeton.Edu what goes around ==============================================================================