September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
10
Task/File-input-output/TUSCRIPT/file-input-output.tu
Normal file
10
Task/File-input-output/TUSCRIPT/file-input-output.tu
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
$$ MODE TUSCRIPT
|
||||
ERROR/STOP CREATE ("input.txt", seq-o,-std-)
|
||||
ERROR/STOP CREATE ("output.txt",seq-o,-std-)
|
||||
|
||||
FILE/ERASE "input.txt" = "Some irrelevant content"
|
||||
path2input =FULLNAME(TUSTEP,"input.txt", -std-)
|
||||
status=READ (path2input,contentinput)
|
||||
|
||||
path2output=FULLNAME(TUSTEP,"output.txt",-std-)
|
||||
status=WRITE(path2output,contentinput)
|
||||
Loading…
Add table
Add a link
Reference in a new issue