xmldump.frink

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


View or download 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 18015 days, 21 hours, 16 minutes ago.