Introducing Import

sanity edited this page May 6, 2012 · 3 revisions

One of the serious limitations of LastCalc has been the inability to easily share the fruits of your labor with others. That has now changed, thanks to the new "import" command.

You just need a URL which contains a set of LastCalc function definitions in plain text format, here is one I prepared earlier which teaches LastCalc how to convert to and from Bitcoins to other currencies, by grabbing the USD conversion rate from http://mtgox.com/ :

http://pastebin.com/raw.php?i=YxjEstzn

Then, in LastCalc just import these functions as follows (don't forget to the URL in quotes!):

import "http://pastebin.com/raw.php?i=YxjEstzn"

On subsequent lines you'll now be able to convert to and from Bitcoins! For example:

5 btc in usd 2 gbp in btc