home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!jvnc.net!yale.edu!yale!actcnews!sun1x!dcemax1.res.utc.com!rer
- From: rer@utrcv1.res.utc.com (Rick E Romkey)
- Newsgroups: comp.sys.mac.programmer
- Subject: Comparing strings 'n stuff...
- Message-ID: <1992Aug28.134804.9876@sun1x.actc.res.utc.com>
- Date: 28 Aug 92 13:48:04 GMT
- Sender: news@sun1x.actc.res.utc.com
- Organization: United Technologies Research Center
- Lines: 28
- X-Xxmessage-Id: <A6C3A7927D011E65@dcemax1.res.utc.com>
- X-Xxdate: Fri, 28 Aug 92 09:51:14 GMT
- Nntp-Posting-Host: 192.19.30.101
- X-Useragent: Nuntius v1.1.1d7
-
-
- I am trying to compare a Str255 with a String which exists
- in my resource file. I have loaded it in, but I am at a loss
- as to what to do to compare these two strings to see if they
- are equivalent.
-
-
- Boolean CompareStrings( Str255 inString )
- {
- StringHandle textHandle;
-
- textHandle = GetString( 128 );
-
- if (textHandle == nil) {
- SysBeep(20);
- ExitToShell();
- }
-
- /* WHAT DO I DO NOW??????? */
- }
-
-
- Any help?
- Rick E Romkey
- Distributed Computing Environments
- United Technologies Research Center
- East Hartford, CT
- (203)727-7195
-