Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #42513

Re: Newbie alert: what is the ANS word for clearing the stack without aborting?

From anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups comp.lang.forth
Subject Re: Newbie alert: what is the ANS word for clearing the stack without aborting?
Date 2015-10-09 16:00 +0000
Organization Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID <2015Oct9.180048@mips.complang.tuwien.ac.at> (permalink)
References <549578e4-aa40-4ea4-b3f2-568a39bb4a7a@googlegroups.com>

Show all headers | View raw


Chris Curl <ccurl609@gmail.com> writes:
>If there is no word in the standard for it, what word do you folks use?

ABORT clears the stack (but also produces an error message in Gforth).

Gforth has CLEARSTACK (this only clears the data stack).

- anton
-- 
M. Anton Ertl  http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
     New standard: http://www.forth200x.org/forth200x.html
   EuroForth 2015: http://www.rigwit.co.uk/EuroForth2015/

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Newbie alert: what is the ANS word for clearing the stack without aborting? Chris Curl <ccurl609@gmail.com> - 2015-10-09 06:30 -0700
  Re: Newbie alert: what is the ANS word for clearing the stack without aborting? "WJ" <w_a_x_man@yahoo.com> - 2015-10-09 13:46 +0000
    Re: Newbie alert: what is the ANS word for clearing the stack without aborting? Coos Haak <chforth@hccnet.nl> - 2015-10-09 17:35 +0200
  Re: Newbie alert: what is the ANS word for clearing the stack without aborting? Mark Wills <markwills1970@gmail.com> - 2015-10-09 07:08 -0700
    Re: Newbie alert: what is the ANS word for clearing the stack without aborting? Coos Haak <chforth@hccnet.nl> - 2015-10-09 17:38 +0200
  Re: Newbie alert: what is the ANS word for clearing the stack without aborting? Ching-Tang Tseng <ilikeforth@gmail.com> - 2015-10-09 08:10 -0700
    Re: Newbie alert: what is the ANS word for clearing the stack without aborting? Coos Haak <chforth@hccnet.nl> - 2015-10-09 17:42 +0200
  Re: Newbie alert: what is the ANS word for clearing the stack without aborting? Chris Curl <ccurl609@gmail.com> - 2015-10-09 08:57 -0700
  Re: Newbie alert: what is the ANS word for clearing the stack without aborting? Ching-Tang Tseng <ilikeforth@gmail.com> - 2015-10-09 08:59 -0700
  Re: Newbie alert: what is the ANS word for clearing the stack without aborting? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-10-09 16:00 +0000
    Re: Newbie alert: what is the ANS word for clearing the stack without aborting? "Elizabeth D. Rather" <erather@forth.com> - 2015-10-09 08:38 -1000
      Re: Newbie alert: what is the ANS word for clearing the stack without aborting? Chris Curl <ccurl609@gmail.com> - 2015-10-09 12:31 -0700
        Re: Newbie alert: what is the ANS word for clearing the stack without aborting? "Elizabeth D. Rather" <erather@forth.com> - 2015-10-09 10:29 -1000
        Re: Newbie alert: what is the ANS word for clearing the stack without aborting? "HAA" <someone@microsoft.com> - 2015-10-11 11:51 +1000
  Re: Newbie alert: what is the ANS word for clearing the stack without aborting? Ching-Tang Tseng <ilikeforth@gmail.com> - 2015-10-10 18:28 -0700
    Re: Newbie alert: what is the ANS word for clearing the stack without aborting? hughaguilar96@gmail.com - 2015-10-10 22:53 -0700

csiph-web