APS Excellence in Physics Education Award
November 2019
Science SPORE Prize
November 2011
The Open Source Physics Project is supported by NSF DUE-0442581.
|
Read and write from and to files
post and replies
Return to the Read and write from and to files thread
Login to post to this thread
Read and write from and to files in EJS
|
Fernando Silva Fernandes
10 Posts
|
How can the Fortran:
open (unit=1, file='input.dat', ...)
open (unit=3, file='output.dat', ...)
read (1,*) x, ... write (3, *) x,...
be coded in EJS?
Thanks,
Fernando
|
Re: Read and write from and to files in EJS -
|
Francisco Esquembre
237 Posts
|
See attached example.
Attached File: WritingAndReadingASCII.ejs1.zip
|
|