Trying to run Fortran-Julia conversion script · GitHub with Julia 1.6.1 fails because of the lines
filename = string(ARGS[1])
code = readstring(filename)
Julia says
ERROR: LoadError: UndefVarError: readstring not defined
Stacktrace:
[1] top-level scope
@ c:\julia\fortran-julia.jl:104
in expression starting at c:\julia\fortran-julia.jl:104
I know readstring
has been removed and that I should call read
, but I don’t know what the alternative code should be.