|
|
A more functional command-line calculator
If you're considering something like commandline python, then you may want to give ruby a shot, which allows you to have a config file automatically import (include in ruby-ese) modules.
ie, if i set my ~/.irbrc to include the following line:
I can do the following:
-- not that this is the easiest solution, but it's pretty powerful, and with the config file you don't have to include Math manually everytime you want.
If you learn a little ruby, it goes a long way and you can do stuff like this in your config file:
and then do stuff like this:
and with things like this, it'll become pretty easy for you to extend your own calculator.
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.04 seconds |
|