fork download
  1. USING: io kernel math math.parser ;
  2.  
  3. readln string>number n =
  4. n
  5. n
  6. +
  7. number>string print
Runtime error #stdin #stdout 0.18s 159232KB
stdin
5
stdout
./prog.factor

3: readln string>number n =
                         ^
No word named “n” found in current vocabulary search path