Hi Pito.

Am 30.09.2010 um 21:15 schrieb pito:

>>> float is an assembler defined word, or is it
>>> colon definition?
> it is Leon's word - the colon definition, not an assembler word.
> See Leon's lib
> http://github.com/lnmaurer/amforth-float/blob/master/float.fth
>
> P.

Hm, I see. Very strange, definition looks ok.
Have no amforth-4.2 installed jet, maybe do it next days.


PS:
In float.fth I found:

\ STACK MANIPULATION WORDS

\ DOESN'T WORK?
: f>r ( f -- , R: -- f )
     >r >r ;

\ DOESN'T WORK?
: fr> ( -- f, R: f -- )
     r> r> ;

..

This indeed won't work.
Use 2>r and 2r> instead, they are provided in core/words allready.

Maybe you like this littel brainteaser:
  http://www.forth-ev.de/wiki/doku.php/enigmatic:to-r_r-from

:-)

Michael


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Amforth-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to