Download or view listUnits.frink in plain text format
/** This simple program lists the names of all units. Its output can be saved
to a file and used to make a completion list for a program like rlwrap
which allows interactive editing on the command-line
rlwrap -f [filename] frink
*/
units = lexicalSort[units[]]
for u = units
println[u]
Download or view listUnits.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 20143 days, 10 hours, 41 minutes ago.