home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
forth
/
compiler
/
fpc
/
tutor
/
l1p070
< prev
next >
Wrap
Text File
|
1990-05-16
|
2KB
|
52 lines
╔══════════════════════════════════════════════════════╗
║ Lesson 1 Part 7.0 F-PC 3.5 Tutorial by Jack Brown ║
╚══════════════════════════════════════════════════════╝
┌────────────────────┐
│ Reference Books. │
└────────────────────┘
We will not be following any book in particular but will gradually
develop the tutorial material along the lines that we have found to be
successful. We will slowly develop new ideas introducing a few new
words each time we study a different program. You may, however, like to
study other books to get new examples and ideas. The best books in my
opinion are the following. Get the ones at the top of the list first!
1) Starting Forth (2nd edition) by Leo Brodie, pub. Prentice Hall
2) Thinking Forth by Leo Brodie, pub. Prentice Hall
3) FORTH: A Text and Reference by Kelly and Spies, pub. Prentice Hall
4) Mastering Forth (2nd edition) by Anderson and Tracy, pub. Brady
5) Object Oriented Forth by Dick Pountain, pub. Academic Press
6) Designing and Programming by Townsend and Feucht, pub. Tab Books
Personal Expert Systems
╓──────────────╖
║ Problem 1.4 ║
╙──────────────╜
* Use the words : HBAR CR ." *****" ;
* and : VBAR CR ." *" CR ." * " ;
* to construct the word " L "
* as shown at the right when it is executed.
*****
Do the same for the letters I F and E. Finally create LIFE that will
display the word LIFE in large type vertically down the page.
╓───────────────╖
║ Problem 1.5 ║
╙───────────────╜
Write a FORTH word using the ideas we developed in CHECKER_BOARD to
write your initials in large block letters about two inches high by one
inch wide. Upload you solution as a message, the most elegant solution
will win a prize! How much work would it take to generalize you program
so that you could include all letters of the alphabet? Could you type:
J A C K <enter> and see this name on the screen in large block letters?
This last request may be a bit ambitious at this time but it is
something you might be thinking about.
┌───────────────────────────────────┐
│ Please Move to Lesson 1 Part 7.5 │
└───────────────────────────────────┘