hi,
I have run into a problem with adding two values, and i’m stumped as despite copying literal examples here it refuses to work.
the relevant portion of the table is:
<tr>
<td>Saves</td>
<!-- <td><$let a=<<modif 000Might>> b=<<modpot 011Martial>> sum={{{[<a>add<b>]}}}> <<sum>> </$let></td> -->
<!-- <td><$let a=2 b=-1 sum={{{[<a>add<b>]}}}> <<sum>> </$let></td> -->
<td><$let a=<<modif 000Might>> b=-1 sum={{{[<a>add<b>]}}}> <<a>> <<sum>> </$let></td>
as you can see, i have tried 3 versions.
top one was first attempt. it displays zero when not commented.
second one displays 1 and appears to work.
third one displays 2 and -1.
thus a= 2 b= -1 and the sum of a + b = -1 instead of 1.
as it does work with simple numbers (second version), why doesn’t work it when those numbers are assigned by variables?
a does display as 2 but it seems to be zero when summing it?
Any help would be greatly appreciated!