Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!pitt!willett!ForthNet From: ForthNet@willett.pgh.pa.us (ForthNet articles from GEnie) Newsgroups: comp.lang.forth Subject: ANS TC Magnet for LOOPS, EXIT, Term. Message-ID: <2321.UUL1.3#5129@willett.pgh.pa.us> Date: 10 Feb 91 21:49:51 GMT Organization: (n.) to be organized. But that's not important right now. Lines: 32 Category 10, Topic 16 Message 100 Sun Feb 10, 1991 F.SERGEANT [Frank] at 15:16 CST To Jan Stout JS>So I think you unwillingly (?) created another FOR NEXTer. What a pleasure to hear that! In return I'll ease off of my position about the decimal point indicating double precision. (I may not change my own Forth in the immediate future, but at least I see what you mean a little better.) JS> : THRU ( 1st last) JS> 1+ OVER - JS> FOR DUP PUSH LOAD POP 1+ ?SCROLL NEXT DROP ; Thank you very much for the above. How stupid of me not to have seen it. At least learning and thinking are benefits from arguments/discussions about what should be in a Forth standard! (To anyone listening who doesn't follow all of the above, THRU in cmFORTH kept the index on the stack, and thus could not be used to load a range of screens that passed data on the stack across screen boundaries. I "solved" it in Pygmy with a sledge hammer and wished for an upcounting FOR NEXT index to make it prettier. Jan has showed me how I should have done it. By the way the ?SCROLL is only used in the debugging THRU (it allows a keypress to temporarily halt the display). It is omitted from the regular THRU.) And, furthermore, I am amazed and delighted that we are able to converse across such a distance: from central Texas to the Netherlands! I understand the Netherlands has a long history of free thinking and tolerance of ideas. -- Frank ----- This message came from GEnie via willett. You cannot Reply to the author using email. Please post a follow-up article, or use any instructions the author may have included (USMail addresses, telephone #, whatever). Report problems to: dwp@willett.pgh.pa.us or uunet!willett!dwp