Download or view dumpUnits.frink in plain text format
/** This program dumps all units and their associated values. This helps to
track dependencies of units when a unit definition changes. The output
can be diff'd to show the effects of any unit redefinition. */
unitNames = lexicalSort[units[]]
for u = unitNames
{
if unit[u] conforms currency
next
println["$u =\t" + unit[u]]
}
Download or view dumpUnits.frink in plain text format
This is a program written in the programming language Frink.
For more information, view the Frink
Documentation or see More Sample Frink Programs.
Alan Eliasen was born 20139 days, 8 hours, 11 minutes ago.