On Sun, Aug 28, 2011 at 7:11 PM, John Porubek <jporu...@gmail.com> wrote: > Thanks for your responses. Now the pressure's on me to recall where > the code example was! I will try to relocate the specific example I > encountered.
Eureka! I found the code example. I was looking into a way to provide a simple small delay on the order of a few milliseconds. I searched for "delay". The example is found in the first "delay" word entry in Help. I input the "funny-slider" example and get the error: "The word <funny-slider> cannot be executed because it failed to compile Stack effect declaration is wrong inferred | (( x -- x )) declared | (( -- slider ))))" I can't see how it would matter, but I'm using Factor 0.94 in Ubuntu 10.10. By the way, I come from a Forth background where I could implement a simple delay word by using a simple "do loop" for something quick and dirty or use a hardware timer for something more efficient. I know I'm not in Kansas anymore, but what's the easiest way to implement a simple delay word in Factor? --John ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk