sponsor Vim development Vim logo Vim Book Ad

RPN : Vim RPN calculator

 script karma  Rating 0/0, Downloaded by 98    Comments, bugs, improvements  Vim wiki

created by
Salman Halim
 
script type
utility
 
description
Examples:

echo Rpn#Eval( '2 3 +' )
Or
echo Rpn#Eval( 2, 3, '+' )

Suggested command:
com! -nargs=+ Rpn echo Rpn#Eval( <f-args> )

Then, Rpn 2 3 + echoes the result.

Operators:
+
-
*
/
%
^

Commands:
d: duplicate last entry
r: reverse last two entries
v: square root the last entry

Special:
ans: Replaces with the answer from the last entry
 
install details
Put it in your autoload directory.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
rpn.vmb 1.0 2013-11-25 7.0 Salman Halim Left out a needed file *blush*
rpn.vim 1.0 2013-11-25 7.0 Salman Halim Initial upload
ip used for rating: 54.196.23.239

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo