Browse Prior Art Database

Displayable Error Indication in Context-Sensitive Editing

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

Publishing Venue

IBM

Related People

Benjamin, JE: AUTHOR [+2]

Abstract

This invention relates to a method for context-sensitive editing in a full-screen program-editing mode executable on a system including a display terminal, keyboard input, and a stored program facility coupling the display and being interactively operable. Characters associated with keystrokes are echoed on the display. The method steps comprise (a) identifying displayed lines which have been keystroke entered, (b) detecting syntax anomalies among the identified lines, and (c) reporting detected anomalies on the display by scrolling the displayed lines and replicating the erroneous lines with indications of a predetermined display position.

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

Page 1 of 2

Displayable Error Indication in Context-Sensitive Editing

This invention relates to a method for context-sensitive editing in a full-screen program-editing mode executable on a system including a display terminal, keyboard input, and a stored program facility coupling the display and being interactively operable. Characters associated with keystrokes are echoed on the display. The method steps comprise (a) identifying displayed lines which have been keystroke entered, (b) detecting syntax anomalies among the identified lines, and (c) reporting detected anomalies on the display by scrolling the displayed lines and replicating the erroneous lines with indications of a predetermined display position. The following is an example of a display before a change: * list 100 x = 1

110 do until x = 0

120 input "Enter a number (0 to finish):": x

130 print x; " square root ="; sqr(x)

140 loop

150 end The display may be changed by the user moving the cursor and changing characters on statement 110 as follows: * list 100 x = 1

110 do whilex <> 0

120 input "Enter a number (0 to finish):": x

130 print x; " square root ="; sqr(x)

140 loop

150 end After the user enters the change, the IBM BASIC processor displays an informational message indicating the number of lines changed. A syntax analysis of the revised lines is also performed. In this example, the BASIC processor notes that only one line has been changed (statement 110). Since the statement does not conform to the syntactic rules, the BASIC processor scrolls the display up, replicates the erroneous line with a pointer under the token in error, and displays an appropriate message as follows: * list 100 x = 1

110 do whilex <> 0

120 input "Enter a number (0 to finish):": x

130 print x; " square root ="; sqr(x)

140 loop

150 end 110 do whilex <> 0

1

###1) BAS30060S 'UNTIL', 'WHILE', OR END OF STATEMENT EXPECTED.

1 LINE(S) EDITED

The method also operates...