Defining and Specifying Strings
This section describes two routines that you can use to work with string handles and two routines for accessing string resources.
- The
NewStringfunction creates a copy of the specified string as a relocatable object in the heap.- The
SetStringprocedure changes the contents of a string that has already been allocated in the heap.- The
GetStringfunction loads a string from a resource of type'STR ', reading the string from the resource file if necessary.- The
GetIndStringprocedure copies a string from a string list that is contained in a resource of type'STR#'.
Subtopics
- NewString
- SetString
- GetString
- GetIndString
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help