wesnoth-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-dev] Adding arithmetic operations to WML


From: Yann Dirson
Subject: [Wesnoth-dev] Adding arithmetic operations to WML
Date: Fri, 18 Feb 2005 21:34:37 +0100
User-agent: Mutt/1.5.6+20040907i

I've not found in the WML-ref section of the wiki anything about
existing arithmetic operations in WML.

If that does not exist yet, I suggest we add predefined preprocessor
macro "+" and maybe "*".  They shall surely take any number of
arguments, and issue a warning if any component of the operation
cannot be parsed as a number in its entirety (ie. if there are any
non-whitespace trailing non-digits).

Any objection ?
-- 
Yann Dirson    <address@hidden> |
Debian-related: <address@hidden> |   Support Debian GNU/Linux:
                                    |  Freedom, Power, Stability, Gratis
     http://ydirson.free.fr/        | Check <http://www.debian.org/>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]