DefaultDirectory | Add directory to path for Yacas scripts |
PrettyPrinter | Set routine to use as pretty-printer |
Help | Show documentation for some command |
HistorySize | Set size of history file |
DefaultDirectory(path) |
Yacas first tries to load a file from the current directory, and otherwise it tries to load from directories defined with this function, in the order they are defined. Note there will be at least one directory specified at start-up time, defined during compilation. This is the directory Yacas searches for the initialization scripts and standard scripts.
In> DefaultDirectory("/home/user/myscripts/"); Out> True; |
In> Taylor(x,0,5)Sin(x) Out> x-x^3/6+x^5/120; In> PrettyPrinter("PrettyForm"); True Out> In> Taylor(x,0,5)Sin(x) 3 5 x x x - -- + --- 6 120 Out> In> PrettyPrinter(); Out> True; In> Taylor(x,0,5)Sin(x) Out> x-x^3/6+x^5/120; |
Help(_f) <-- SystemCall("netscape " : FindFile("documentation/ref.html"):"#":f); Help() := SystemCall("netscape " : FindFile("documentation/books.html")); |
HistorySize(n) |
In> HistorySize(200) Out> True; In> quit |