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.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.