Created
November 15, 2018 11:09
-
-
Save sirolf2009/5ab070d6884037542ae26267bbda75ae to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function map | |
| set pars1 (expr $argv[1] - $argv[2]) | |
| set pars2 (expr $argv[5] - $argv[4]) | |
| set pars3 (expr $argv[3] - $argv[2]) | |
| expr (expr (expr $pars1 \* $pars2) / $pars3) + $argv[4] | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment