On Wed, May 23, 2018 at 3:14 PM, Ken Takata <ktakata65...@gmail.com> wrote:
> Hi,
>
> 2018/5/23 Wed 21:29:43 UTC+9 Ni Va wrote:
>> I build both 32 and 64 bits version of gvim but always 1 is returned when 
>> from 32bits or 64bits I do :
>>
>> echo has('num64')
>> echo has('win32')
>> echo has('win64')
>>
>> What the feature to differentiate the two built 32/64bits
>
> You must have made a mistake.  has('win64') returns 0 on 32-bit Vim.
>
> And yes, has('win32') returns 1 on 64-bit Vim also.  This is explicitly
> documented.  See `:help feature-list`.
>
> Regards,
> Ken Takata

Of course, both has('win32') and has('win64') return 0 on Unix-like
Vim; so I suppose that there, either the :version redirect as above,
or testing the value returned by system('file ' . v:progpath) for the
text "64-bit" would still be necessary.

Best regards,
Tony.

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui