Hi,

I'm trying to workaround a problem and in doing so I need to save off
the original gvim window position and then later use 'winpos' to restore
the orignal {X} and {Y} coordinates.

Within a function I save off the original coordinates thusly:

   let w:WinPosX = getwinposx()
   let w:WinPosY = getwinposy()

And then later in the function I do this:

   winpos w:WinPosX w:WinPosY
   
Vim is not happy with how I use 'winpos' and complains as follows:

E466: :winpos requires two number arguments

I've tried various incantations of my variables, but I can't seem to
find the correct syntax.

Any assistance would be appreciated.

-- 
Mun

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to