Proposal
: FCLEARSTACK ( r1 r2 .. rn -- )
    FDEPTH
    0 DO
    F. LOOP ;



    Am Sonntag, 21. Mai 2023 um 20:25:35 MESZ hat Pascal Dag 
<[email protected]> Folgendes geschrieben:  
 
  
https://gforth.org/manual/Examining-data.html#index-fclearstack_0028--r0-_002e_002e-rn-_002d_002d--_0029-gforth

gforth <cr>
.. Gforth 0.7.3, Copyright (C) 1995-2008 Free Software Foundation, Inc.
Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license'
Type `bye' to exit

1.0e 2.0e 3.0e 4.0e 5.0e 6.0e 5.0e  4.0e  <cr>
.. ok
f.s <cr>
.. <8> 1.000000000000E0 2.000000000000E0 3.000000000000E0 4.000000000000E0 
5.000000000000E0 6.000000000000E0 5.000000000000E0 4.000000000000E0  ok
fclearstack <cr>.. :3: Undefined word>>>fclearstack<<<
Backtrace:
$7F1DF5F66A68 throw 
$7F1DF5F7CDB0 no.extensions 
$7F1DF5F66D28 interpreter-notfound1 

CLEARSTACKS works but I want only to clear the float stack.

 

System in use is

gforth 0.7.3 fromDebian 11.
uname -a
Linux ProDesk 5.10.0-23-amd64 #1 SMP Debian 5.10.179-1 (2023-05-12) x86_64 
GNU/Linux
apt list gforth
Listing... Done
gforth/stable,now 0.7.3+dfsg-9+b1 amd64 [installed]
gforth/stable 0.7.3+dfsg-9+b1 i386


Any remark / comment is welcome.
            

Reply via email to