PString Class

A "Pascal" string, typically used only with Mac OS "classic." The first byte is the length of the string; as a result, it is limited to 255 characters. You can pass a regular REALbasic String to it and it will be converted to a PString automatically. PString can be used only with a Declare statement and it cannot be used to declare REALbasic variables, properties, and methods.

Events

None

Properties

None

Methods

None


See Also

Declare statement; Byte, CFStringRef, CString, OSType, Ptr, Short, UByte, UShort, WindowPtr, WString data types.