Hi,

I'm relatively new to *roff in general. I can't figure out how to keep track of a numeric value, for example a currency sum through a document.

How is it done? We start with a value of 0, and each time we want to add to the "total" we increment a number register (or something) by the desired value.

At the end we can print "Total = $numregister" (so to speak).

Any help would be fantastic.

Thanks,

Louis

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Groff mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/groff

Reply via email to