Skip to content

Commit 23b7c07

Browse files
author
Alex Razoumov
committed
use temp variable to write the solution to disk
1 parent 6a41eb3 commit 23b7c07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: episodes/22-domains.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ We'll add the following to our code to write ASCII:
520520
use IO;
521521
var myFile = open("output.dat", iomode.cw); // open the file for writing
522522
var myWritingChannel = myFile.writer(); // create a writing channel starting at file offset 0
523-
myWritingChannel.write(T); // write the array
523+
myWritingChannel.write(temp); // write the array
524524
myWritingChannel.close(); // close the channel
525525
```
526526

0 commit comments

Comments
 (0)