listUnits.frink

View or download 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]


View or download 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 19100 days, 7 hours, 57 minutes ago.