Posted by member 12025 on 2004-08-07 11:01:40
OK, so you got !mathfile, !mathequation, !mathsave.
-So you set the file.
-Then you can do stuff to variables.
-Then you can save the file.
But...
What gets saved with !mathsave? It sure doesn't save the variable that's had anything done to it (allegedly)!
Then in lsxcommand,
...themevars.rc's "test" variable still reads 3.
...OR is there some way to use another module to do expressions like that (aside from lsxcommand, as it has no real power in this case, AFAIK)?
-So you set the file.
-Then you can do stuff to variables.
-Then you can save the file.
But...
What gets saved with !mathsave? It sure doesn't save the variable that's had anything done to it (allegedly)!
; in themevars.rc
test 3
test 3
Then in lsxcommand,
!mathfile "$ConfigDir$themevars.rc"
!mathequation test = test * test
!mathsave
!mathequation test = test * test
!mathsave
...themevars.rc's "test" variable still reads 3.
...OR is there some way to use another module to do expressions like that (aside from lsxcommand, as it has no real power in this case, AFAIK)?