Created
January 14, 2010 10:47
-
-
Save oberhamsi/277070 to your computer and use it in GitHub Desktop.
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
helma> var File = require('file') | |
helma> var outFile = File.open('/tmp/ng.test', 'w') | |
helma> outFile.write('foo bar') | |
[object Object] | |
helma> outFile.flush() | |
[object Object] | |
helma> outFile.close() | |
helma> var inFile = File.open('/tmp/ng.test', 'r') | |
helma> inFile.read() | |
foo bar | |
helma> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment