fork download
  1. USING: kernel sequences locals io formatting strings math math.functions math.parser ;
  2. IN: main
  3. "Hello, World" print
  4. :: loop ( i -- )
  5. i "%d " printf
  6. ;
  7. readln string>number
  8. i [ dup loop ] each
Runtime error #stdin #stdout 1.33s 165056KB
stdin
30
stdout
./prog.factor

8: i [ dup loop ] each
    ^
No word named “i” found in current vocabulary search path