Saturday, January 22, 2011

Re: create variable on the fly

Hi rameo!

On Fr, 21 Jan 2011, rameo wrote:
> Is it possible to check if a result of a calculation is above the
> limit and interrupt the function?

Something like this:
if (a>0 && b>0 && a+b < 0)
return -1
endif


regards
Christian

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: