-- WalnutDocumentRope.Mesa
-- written by Bill Paxton. March 31, 1983
-- last written by Paxton. March 31, 1983 9:22 am
-- Last Edited by: Willie-Sue, June 24, 1983 2:31 pm
DIRECTORY
Rope,
TextNode;
WalnutDocumentRope: CEDAR DEFINITIONS = BEGIN
Create:
PROC [doc: TextNode.Ref]
RETURNS [Rope.
ROPE];
This lets you read characters from an arbitrary Tioga doc as if it were a rope.
Returns CR's between nodes.
Use with caution. doc should NOT change during the lifetime of this rope.
END.