Browse Prior Art Database

Search Utility for BASIC Interpreter

IP.com Disclosure Number: IPCOM000065159D
Original Publication Date: 1985-Nov-01
Included in the Prior Art Database: 2005-Feb-19

Publishing Venue

IBM

Related People

Authors:
Mueller, AM [+details]

Abstract

The IBM Personal Computer uses Microsoft BASIC in an interpreted form; programs can be changed by using the built-in editor and then run immediately, enhancing the debug procedure. The BASIC editor, a full screen line editor, lacks one useful feature: search capability. Described below is a search utility compatible with the BASIC editor. A major problem in implementing a search utility for the interpreter is that as program lines are entered, the BASIC editor changes the BASIC keywords into tokens (tokens are one- or two-byte abbreviations of the keywords). A search routine must convert phrases into the appropriate tokens. This utility uses the BASIC editor to perform the token conversion. The phrase to be searched for is entered into the first line of the program (line 0).