home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / forth / 3478 < prev    next >
Encoding:
Text File  |  1992-11-11  |  2.1 KB  |  35 lines

  1. Newsgroups: comp.lang.forth
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!mars.tsd.arlut.utexas.edu!larry
  3. From: larry@tsd.arlut.utexas.edu (Larry Maturo)
  4. Subject: Starting Forth - Chapter 2 exercies
  5. Message-ID: <1992Nov11.141750.19841@titan.tsd.arlut.utexas.edu>
  6. Sender: usenet@titan.tsd.arlut.utexas.edu
  7. Nntp-Posting-Host: eagle
  8. Organization: Applied Research Labs, The University of Texas at Austin
  9. Distribution: comp
  10. Date: Wed, 11 Nov 1992 14:17:50 GMT
  11. Lines: 22
  12.  
  13. I am trying to learn Forth using Starting Forth, second edition and Pygmy Forth.
  14. Some of the exercises at the end of chapter 2 seem to require that you access the
  15. stack down aways.  I'm not sure how to do that with the material introduced up
  16. to this point in the book.  Also, how do you, in general, access the stuff below
  17. the stack top?  Starting Forth had 2SWAP and 2OVER and Pgymy Forth did'nt so I
  18. added them using the assembler.  I noticed in doing so that I used registers to
  19. temporarily hold things from the stack.  Does Forth have something similar to
  20. registers (variables?) that can temporarily hold things from the stack?  Should
  21. I just blow this off for now and continue with the book?
  22.  
  23. +-----------------------------------+----------------------------------------+
  24. |                                   |                                        |
  25. | Larry Maturo                      | Opinions expressed herein must be      |
  26. | Tactical Simulation Division      | yours, neither I nor my employer have  |
  27. | Applied Research Laboratories     | any.                                   |
  28. | University of Texas at Austin     |                                        |
  29. | P.O. Box 8029                     +----------------------------------------+
  30. | Austin, Texas 78713-8029          |                                        |
  31. |                                   | When you're as great as I am it's hard |
  32. | larry@titan.tsd.arlut.utexas.edu  | to be modest, but I succeed where      |
  33. |                                   | others fail.                           |
  34. +-----------------------------------+----------------------------------------+
  35.