A string CASE statement for UR/FORTH

Abstract

The <b>CASE</b> statement was created as a structured language construct in modern programming languages as an alternative to using nested <b>IF .. ELSE .. THEN</b> statements. Although some programmers think that <b>CASE</b> is unnecessary in Forth (it is not included in the 1983 standard), to my mind is proper use improves the readability of source code. Dr Eaker's version of the <b>CASE</b> construct [1] has become a recognized part of Forth lore and is provided by several vendors for the convenience of users.

Topics

0 Figures and Tables

    Download Full PDF Version (Non-Commercial Use)