- Inside Macintosh: Text /
- Chapter 5 - Text Utilities / Text Utilities Reference
- Routines
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
NewString function creates a copy of the specified string as a relocatable object in the heap.
- The
SetString procedure changes the contents of a string that has already been allocated in the heap.
- The
GetString function loads a string from a resource of type 'STR ', reading the string from the resource file if necessary.
- The
GetIndString procedure copies a string from a string list that is contained in a resource of type 'STR#'.
Subtopics
- NewString
-
- SetString
-
- GetString
-
- GetIndString
-
© Apple Computer, Inc.
6 JUL 1996