Jump to content

File input/output: Difference between revisions

m
Make the Groovy example fulfill the task by actually using an intermediate variable
(add task to ARM64 assembly Raspberry Pi)
m (Make the Groovy example fulfill the task by actually using an intermediate variable)
Line 1,724:
 
Using File
<lang groovy>newcontent = File('output.txt').write(new File('input.txt').text)</lang>
new File('output.txt').write(content)</lang>
 
Using Ant
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.