Created
November 11, 2010 02:52
-
-
Save noqisofon/671908 to your computer and use it in GitHub Desktop.
ファイルを表示するだけの silicone(ry スクリプト。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using std; | |
using std.io; | |
let ( stream : FileOutputStream = FileOutputStream.open( "sample.txt" ) ) { | |
stream.each_line ( line : string ) => { | |
console.puts line.chomp | |
}; | |
} ensure { | |
stream.close(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment