Newbie Question: String variable type and filename
Subject: Newbie Question: String variable type and filename
From: Christiansson, G.A.V.
Date: Mon, 5 Apr 2004 11:46:55 +0200
Good day,
I have a small problem related to string variables. (I have read the Maxima
book and googled, but I could not find how this works.)
I want to set the filename as a string variable, and use it in the
subsequent calls to the "tex" function, like this:
outputfile: string("D:\\docs\\maxima\\somefile.tex")$
tex(" -- Some Output -- ", outputfile)$
I have also tried:
outputfile: "D:\\docs\\maxima\\somefile.tex"$
But I get no output in the specified tex file.
When I do not use the variable, but specify the outputfile like:
tex(" -- Some output -- ", "D:\\docs\\maxima\\somefile.tex")$
it works perfectly well.
Could you please indicate where to look for this information? Maybe you have
specific tips?
Thanks,
Goran