Last active
April 13, 2017 06:53
-
-
Save yyq123/4c18997ffac9a857d6d0f0b452923df4 to your computer and use it in GitHub Desktop.
FunctionSmaller.vim
This file contains 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 Min(num1,num2) | |
if a:num1 < a:num2 | |
let smaller = a:num1 | |
else | |
let smaller = a:num2 | |
endif | |
return smaller | |
endfunction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment