Kjetil Torgrim Homme wrote:
Am I allowed to do the following using "variables" extension:
set "NumVar" 100M;
no.
If the answer is yes, two more questions:
1). How do we expand integer variables inside strings?
2). Can a variable get a string value after it was assigned an integer
value?
the problem is rather that the variable can only be expanded inside a
string, so it would lose its integer property.
Which is fine, as long as this is documented.
I believe the current document doesn't specify what types of variables are
allowed.
You have to either explicitly allow or prohibit this.
do you have a use for integer variables?
You already have the "length" function. I was thinking something along the
lines of comparing lengths/counting headers/scoring.
However this will probably require some actions for simple arithmetic (+/-).
Cheers,
Alexey
__________________________________________
R & D, ACI Worldwide/MessagingDirect
Watford, UK
Work Phone: +44 1923 81 2877
Home Page: http://orthanc.ab.ca/mel
IETF standard
related pages: http://orthanc.ab.ca/mel/devel/Links.html
I speak for myself only, not for my employer.
__________________________________________