18 февраля 2012, 20:27 от Marshall Lochbaum <mwlochb...@gmail.com>:
> program becomes
> { 1 2 3 } [ ] [ length ] bi v/n
Thanks, you have set me thinking. But your program dosn't work properly.
Data stack: {1/3, 2/3 1}
But it must be: {1/6 1/3 1/2}
Correct program: { 1 2 3 } dup sum v/n
My first program in any concatenative language! It's great! I'm amazing!
BTW, Factor Listener and Inspector are very buggy on my system. I don't know
the reason, but other applications works properly...
I have Win7 Starter on Intel Atom D410, 2Gb RAM. Other apps: Google Chrome,
SumatraPDF, Standart CHM Viewer, Dr.Web Antivirus.
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk