path



Hi,

I have file : test.mac containing :

print("The value of load_pathname is: ", load_pathname)$
print("End of batchfile")$

When I open it with batch command :


(%i16) batch("/home/a/maxima/parabolic/multiplot/test.mac")$

read and interpret file: #p/home/a/maxima/parabolic/multiplot/test.mac

(%i17) print("The value of load_pathname is: ",load_pathname)
"The value of load_pathname is: "false

(%i18) print("End of batchfile")
"End of batchfile"


It the load_pathname is empty, but after batchload not :


(%i19) batchload("/home/a/maxima/parabolic/multiplot/test.mac")$

"The value of load_pathname is: 
""/home/a/maxima/parabolic/multiplot/test.mac"
"End of batchfile"

Why ?

Is it possible to read and use path inside batch file ?

Regards

Adam