2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
9
Task/Input-loop/Elena/input-loop-1.elena
Normal file
9
Task/Input-loop/Elena/input-loop-1.elena
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#import system.
|
||||
#import system'routines.
|
||||
#import system'io.
|
||||
#import extensions'routines.
|
||||
|
||||
#symbol program =
|
||||
[
|
||||
ReaderEnumerator new:("file.txt" file_path textreader) run &each:printingLn.
|
||||
].
|
||||
11
Task/Input-loop/Elena/input-loop-2.elena
Normal file
11
Task/Input-loop/Elena/input-loop-2.elena
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#import system.
|
||||
#import system'io.
|
||||
|
||||
#symbol program =
|
||||
[
|
||||
#var reader := "file.txt" file_path textreader.
|
||||
#loop (reader available)?
|
||||
[
|
||||
console writeLine:(reader read &literal).
|
||||
].
|
||||
].
|
||||
Loading…
Add table
Add a link
Reference in a new issue