On Fri 27-Jun-08 9:17am -0600, Ben Schmidt wrote:
>> if has("float")
>> let g:pi = 3.14159265358979324
>> let g:e = 2.71828182845904524
>> let g:d2r = pi / 180
> This should be g:pi, surely?
Perhaps for clarity - but unless pi were used inside a
function, I don't believe it's necessary. (Inside a
function the reference would fail because a local variable
would be expected.)
However, it's a good idea to be explicit since some day you
may place a fragment of code inside a function.
Thanks, Ben.
--
Best regards,
Bill
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---