Re: FVWM: Arithmetics?

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Tue, 22 Apr 2003 10:02:55 +0200

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 majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Apr 22 2003 - 03:02:25 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST