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  has become a recognized part of Forth lore and is provided by several vendors for the convenience of users.
Download Full PDF Version (Non-Commercial Use)