Collection of TMInterface AngelScript scripts.
A command-line calculator.
Everything has to be passed in as a separate argument (so whitespace inbetween), e.g.:
calc_expr 2 * ( 31 + 4 )
yields 70.
There are two commands:
This one calculates like a normal calculator.
For calculating with time values, use calc_time
.
This one parses numbers as timestamps, and logs a time back instead of just a number.
It’s pretty much the same as calc_expr
, except that numbers are parsed and logged as timestamps.
v2.0.1
.