Hi Vijayendra,
> $ fle : "C:/myfiles/fle.txt"
> $ with_stdout(fle, fortran(expression))
>
> The file does not land where it should have. Instead, the file is found in
> maxima directory as "$fle".
>
> On the other hand if I do:
>
> $ with_stdout("C:/myfiles/fle.txt", fortran(expression))
> it places the file "fle.txt" correctly in "myfiles" directory.
with_stdout quotes (does not evaluate) its first argument.
To cause the variable to be evaluated, try quote-quote (two single
quotes) like this:
with_stdout (''fle, fortran (expression));
hth,
Robert Dodier