Abstract: Unlike PASCAL, most versions of BASIC, and especially those available on microcomputers, lack adequate control structures for the practice of structured programming. However, BASIC remains one of the most frequently learned ‘first’ programming languages, thereby resulting in a large number of programmers accustomed to poor programming techniques. This paper presents the author's approach to solving this problem. It describes a preprocessor, written in various micro-computer BASIC dialects, which accepts ‘structured BASIC’ code as input and produces an equivalent BASIC program that will run on the host machine. Limitations and possible extensions are described. The paper is tutorial in nature, in that some illustrations are given on how BASIC string functions may be used conveniently to implement such a preprocessor.
Publication Year: 1981
Publication Date: 1981-04-01
Language: en
Type: article
Indexed In: ['crossref']
Access and Citation
AI Researcher Chatbot
Get quick answers to your questions about the article from our AI researcher chatbot