1
0
forked from Mirror/wren
Files
wren/test/io/stdin/read_line.wren
2015-10-16 21:05:24 -07:00

12 lines
214 B
Plaintext

import "io" for Stdin
System.write("> ")
System.print("1 " + Stdin.readLine())
System.write("> ")
System.print("2 " + Stdin.readLine())
// stdin: first
// stdin: second
// expect: > 1 first
// expect: > 2 second