File input/output: Difference between revisions
Content added Content deleted
(Added Kotlin) |
|||
Line 1,486: | Line 1,486: | ||
=={{header|K}}== |
=={{header|K}}== |
||
<lang K>`output.txt 0:0:`input.txt</lang> |
<lang K>`output.txt 0:0:`input.txt</lang> |
||
=={{header|Kotlin}}== |
|||
<lang scala>// version 1.1.1 |
|||
import java.io.File |
|||
fun main(args: Array<String>) { |
|||
val text = File("input.txt").readText() |
|||
File("output.txt").writeText(text) |
|||
}</lang> |
|||
=={{header|LabVIEW}}== |
=={{header|LabVIEW}}== |