...
Code Block | ||||
---|---|---|---|---|
| ||||
dummy\'); var bw = new JavaImporter(java.io.BufferedWriter); var fw = new JavaImporter(java.io.FileWriter); with(fw) with(bw) { bwr = new BufferedWriter(new FileWriter(\"c://somepath//somefile.txt\")); bwr.write(\"some text\"); bwr.close(); } // ; |
The script prints prints "dummy"
and writes writes "some text"
to somefile.txt
behind the scenes.
...