Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

METHOD FOR PROCESSING TEXT DATA STREAM OBJECTS

IP.com Disclosure Number: IPCOM000039736D
Original Publication Date: 1987-Jul-01
Included in the Prior Art Database: 2005-Feb-01
Document File: 2 page(s) / 14K

Publishing Venue

IBM

Related People

Misra, M: AUTHOR

Abstract

Conditional Processing and Repetitive Processing are powerful programming tools and are usually an element of programming languages. A method is described which extends the idea of Conditional Processing and Repetitive Processing into the environment of text data stream objects. It identifies conditions relevant in a text object environment. It also provides control sequences to specify such conditions and to process parts of a text object depending on that condition.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 53% of the total text.

Page 1 of 2

METHOD FOR PROCESSING TEXT DATA STREAM OBJECTS

Conditional Processing and Repetitive Processing are powerful programming tools and are usually an element of programming languages. A method is described which extends the idea of Conditional Processing and Repetitive Processing into the environment of text data stream objects. It identifies conditions relevant in a text object environment. It also provides control sequences to specify such conditions and to process parts of a text object depending on that condition.

This method gives the document designer more power and control when employing a given Text Object Architecture (TOA). Conditions In Text Object Environment: Like conditions in programming languages, conditions in a TOA compare two operands and yield a result of "true" or "false". But unlike the operands in programming languages, the operands in a TOA condition are named entities such as: A macro name

A counter name

A tab identifier

A text processing variable identifier or a value such an entity may assume at any time. The value of a macro name is its text content. The value of a counter is a member of the text sequence associated with it. The value of a tab identifier is the position associated with it. Text processing variables are maintained by the processes operating on the Text Object and represent the state of execution of the object and the document in which it resides at any given time. Other variables may be attributes of the run time environment. The comparison operators used in conditions are: Equal

Not equal

Greater than

Less than

Greater than or equal

Less than or equal The comparison operation depends on the type of the operands under comparison. For Character- or Name-type operands, a character-by-character comparison is made. For Numeric and Coded bit-string-type operands, a bit-by-bit comparison is made. Counters, known as Auto Text Sequences, are special purpose text elements. Each counter has a binary value and a text value associated with it at any time. Therefore, it can be compared with either a number, a text string, or another counter. If a text string is to be compared with a counter, it must be a valid member of the text sequence associated with the counter. If the string is the same as the current text value of the counter, then the text string is equal to the counter. If it comes before the current value of the counter in its text sequence, then it is less than the counter. For example, if a counter represents a sequence a, b, c, d,..., and the current binary value of the counter is 2, its current text value is "b." Then it is less than the string "d," equal to the string "b," and greater than the string "a." It is also equal to the number 2

1

Page 2 of 2

and can be compared with any natural number. Control Sequences For Conditional Processing: To control...