Download 6 - Forth Interest Group
Transcript
FORTH Dimensions Published bv the Forth Interest Group L Volume VII, Number 6 March/April 1986 Editor Marlin Ouverson FEATURES Production Cynthia Lawson Forth Dimensions solicits editorial material, comments and letters. NO responsibility is assumed for accuracy of material submitted. Unless noted otherwise, material published by the Forth Interest Group is in the public domain. Such material may be reproduced with credit given to the author and to the Forth Interest Group. Subscription to Forth Dimensions is free with membership in the Forth Interest Group at $15.00 per year ($27.00 foreign air). For membership, change of address and to submit material for publication, the address is: Forth Interest Group, P.O. Box 8231, San Jose, California 95 155. 10 The Moving Cursor Writes by Michael Ham This article describes one approach to selecting from a menu: picking the option with the cursor and using the resulting option number as an index into an array of functions. When properly done, this method eliminates the problem of invalid input, and can greatly improve ease of program use. 15 euroFORML '85 by Robert Reiling Following the previous year's trip to China, FORML journeyed to West Germany, where that nation's FIG members hosted a symposium of Forth experts representing most of the European countries. They gathered to discuss developments in Forth programming techniques and how they are being used around the world. FIG President Robert Reiling covered the event for Forth Dimensions. 21 Symbol Table Teaching Forth: Let's Keep It Simple by Ronald E. Apra The IF THEN ELSE construct has boggled the minds of many young, aspiring programmers. This teacher of elementary and secondary students has a philosophy that guided him to find a logical way to introduce the control structure's concept in his classes. Simple; introductory tutorials and simple applications of Forth. Intermediate; articles and code for more complex applications, and tutorials on generally difficult topics. 23 F83 String Functions by Clifford Kent This article presents a string package in support of the F83 public-domain Forth model. It brings to Forth the ease of text handling usually found in languages like Pascal or BASIC, making use of a string stack as earlier described by Cassady. Advanced; requiringstudy and a thorough understanding of Forth. DEPARTMENTS Code and examples conform to Forth-83 standard. 5 9 I Code and examples conform to Forth-79 standard. 9. 34 Letters Advertisers Index Editorial ..-. FIG Chapters -- - - Code and examples conform to fig-FORTH. - - Volume VII. No. 6 3 FORTH D ~ m e n s ~ o n s