I have started learning Factor and after trying out the
palindrome tutorial, I am now trying to make a simple
program for filtering out non-prime numbers from a list.
I have made a word multiple-of? which returns true if
x is a multiple of y.
: multiple-of? ( x y -- ? ) [ = not ] [ mod 0 = ]
Scott == Scott Brown sukottobur...@yahoo.co.jp writes:
Scott I have started learning Factor and after trying out the
Scott palindrome tutorial, I am now trying to make a simple program for
Scott filtering out non-prime numbers from a list.
Scott I have made a word multiple-of? which returns
http://docs.factorcode.org/content/article-errors.html
( scratchpad ) 1 float .
1.0
On Fri, Sep 18, 2009 at 9:20 PM, Hugh Aguilar hugoagui...@rosycrew.comwrote:
In Forth we have abort that terminates execution with an error message.
Does Factor have this? Can this be wrapped in