Composite Objects

PostScript Add comments

POSTSCRIPT arrays, strings, and dictionaries are examples of composite objects. These objects have values that are separate from the object itself. That is, the character codes making up a string are stored in a different location in a POSTSCRIPT machine than the string object that POSTSCRIPT directly manipulates. Note that composite objects can share values. A dup operation on a string duplicates the object, but not its value. The duplicate object looks to the same place in the machine’s memory for its value.

Leave a Reply

You must be logged in to post a comment.

WebSite Powered by webHauser
Entries RSS Comments RSS Login