On Sun, Apr 20, 2003 at 09:02:11PM +0200, Felix E. Klee wrote: > Hi, > > I want to do a lot of "realtime" (i.e. M4 is not an option) arithmetics in > .fvwm2rc. Currently I'm using expressions like > PipeRead `let "x=$[FVWM_A]*$[FVWM_B]"; printf "SetEnv > FVWM_C $$x"` > This has two advantages: > 1. It is not very readable > 2. It depends on the shell I'm using > > Are there any better ways for doing arithmetics in FVWM? Will arithmetics > ever be built in?
Just to put my oar in: I'd like to centralise parsing of numberic arguments everywhere in fvwm in the future. This will make it easy to add a <number>[{+-}<number>]... syntax without a shell. Bye Dominik ^_^ ^_^ -- Visit the official FVWM web page at <URL: http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]