xmldump.frink

Download or view xmldump.frink in plain text format


// Dumps all units with dimensions of length in a pseudo-XML format.

for u = sort[units[length], { |a,b| unit[a] <=> unit[b] }]
   println["<UNIT NAME=\"" + u + "\">" + (unit[u]->m) + "</UNIT>"]


Download or view xmldump.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 20218 days, 0 hours, 16 minutes ago.