Extending LastCalc

21 views
Skip to first unread message

Ian Clarke

unread,
Apr 15, 2012, 11:36:43 AM4/15/12
to last...@googlegroups.com
While LastCalc waits for user accounts, which will allow people to easily share what they've thought it, it is actually already surprisingly easy to extend LastCalc's functionality.

In the source code you'll find this bootstrap.txt file, in which a bunch of stuff is pre-defined using LastCalc's own language, for example, here are the function definitions that allow LastCalc to understand percentages:


# Percentages
X + PNum% = X * (1+PNum/100)
X - PNum% = X * (1-PNum/100)
PNum% of X = X*(PNum/100)
X * PNum% = X*(PNum/100)
PNum% * X = X*(PNum/100)

If anyone has some functions that they think would be useful for LastCalc to know by default, then please email them to this list and I can add them to the bootstrap file.

Ian.

--
Ian Clarke
Reply all
Reply to author
Forward
0 new messages