On Tue, May 10, 2011 at 9:19 PM, Kartik Agaram <a...@akkartik.com> wrote:
> $ echo "2 2 +" |./factor

This runs the code piped to the listener, which has a number of
vocabularies automatically USE:'d.

> $ echo "2 2 +" > x; ./factor x

This reads the file and runs that. This never has vocabs automatically
USE:'d. You'll need to add USE: or USING: definitions for the vocabs
that words in the file use. In this case, USE: math for the '+' word.

Chris.
-- 
http://www.bluishcoder.co.nz

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to